Class: MoteSMS::DeliveryJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- MoteSMS::DeliveryJob
- Defined in:
- lib/mote_sms/delivery_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(from, to, body, options) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/mote_sms/delivery_job.rb', line 8 def perform(from, to, body, ) Message.new do from from to to body body end.deliver_now end |