lib/tasks/gws/notification.rb
# this method is intended for backward compatibility
# use `deliver` method
this method is intended for backward compatibility
use `deliver` method
this method is intended for backward compatibility use ` deliver ` method
def deliver_notice
          each_sites do |site|
            puts site.name
            ::Gws::Notice::NotificationJob.bind(site_id: site.id).perform_now
          end
        end
def deliver_notice each_sites do | site | puts site . name :: Gws :: Notice :: NotificationJob . bind ( site_id : site . id ) . perform_now end end
this method is intended for backward compatibility
use `deliver` method
this method is intended for backward compatibility use ` deliver ` method