Sha256: 6431ed9bff01c60ab2b932e51df5cb2b834fd248aeef8a0b8462df7b973450ca
Contents?: true
Size: 306 Bytes
Versions: 3
Compression:
Stored size: 306 Bytes
Contents
module CmSmsRails class DeliveryJob < ActiveJob::Base class Error < StandardError; end queue_as :cm_messengers def perform(messenger, message_method, delivery_method, *args) # :nodoc: messenger.constantize.public_send(message_method, *args).send(delivery_method) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cm-sms-rails-0.2.1 | lib/cm_sms_rails/delivery_job.rb |
cm-sms-rails-0.2.0 | lib/cm_sms_rails/delivery_job.rb |
cm-sms-rails-0.1.0 | lib/cm_sms_rails/delivery_job.rb |