Class: MailRoom::Delivery::Que
- Inherits:
-
Object
- Object
- MailRoom::Delivery::Que
- Defined in:
- lib/mail_room/delivery/que.rb
Overview
Que Delivery method
Defined Under Namespace
Classes: Options
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#deliver(message) ⇒ Object
deliver the message by pushing it onto the configured Sidekiq queue.
-
#initialize(options) ⇒ Que
constructor
Build a new delivery, hold the mailbox configuration.
Constructor Details
#initialize(options) ⇒ Que
Build a new delivery, hold the mailbox configuration
29 30 31 |
# File 'lib/mail_room/delivery/que.rb', line 29 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
25 26 27 |
# File 'lib/mail_room/delivery/que.rb', line 25 def @options end |
Instance Method Details
#deliver(message) ⇒ Object
deliver the message by pushing it onto the configured Sidekiq queue
35 36 37 |
# File 'lib/mail_room/delivery/que.rb', line 35 def deliver() queue_job() end |