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