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