Class: QPush::Server::Apis::Perform

Inherits:
Base
  • Object
show all
Defined in:
lib/qpush/server/apis/perform.rb

Instance Method Summary collapse

Methods inherited from Base

call

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

#callObject



9
10
11
# File 'lib/qpush/server/apis/perform.rb', line 9

def call
  perform_job
end