Sha256: 31b8cfc0ed1376835e6f21aa32c3ab194eb70de24ea6a92b2ce4b37ff9a08d21
Contents?: true
Size: 307 Bytes
Versions: 1
Compression:
Stored size: 307 Bytes
Contents
class Cellular::Jobs::AsyncMessenger include Sidekiq::Worker sidekiq_options queue: :cellular, retry: false def perform(sms_options) sms_options.keys.each do |key| sms_options[key.to_sym] = sms_options.delete key end sms = Cellular::SMS.new sms_options sms.deliver end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cellular-1.3.0 | lib/cellular/jobs/async_messenger.rb |