Class: QPush::Server::Apis::Delay
- Defined in:
- lib/qpush/server/apis/delay.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(job, type) ⇒ Delay
constructor
A new instance of Delay.
Methods inherited from Base
Constructor Details
#initialize(job, type) ⇒ Delay
Returns a new instance of Delay.
5 6 7 8 |
# File 'lib/qpush/server/apis/delay.rb', line 5 def initialize(job, type) @job = job @type = type end |
Instance Method Details
#call ⇒ Object
10 11 12 13 |
# File 'lib/qpush/server/apis/delay.rb', line 10 def call load_type delay_job end |