Class: Cangaroo::PushJob
- Defined in:
- app/jobs/cangaroo/push_job.rb
Instance Method Summary collapse
Methods inherited from Job
#payload, #source_connection, #type
Methods included from LoggerHelper
Instance Method Details
#perform ⇒ Object
3 4 5 |
# File 'app/jobs/cangaroo/push_job.rb', line 3 def perform(*) restart_flow(connection_request) end |
#perform? ⇒ Boolean
7 8 9 |
# File 'app/jobs/cangaroo/push_job.rb', line 7 def perform? fail NotImplementedError end |
#transform ⇒ Object
11 12 13 |
# File 'app/jobs/cangaroo/push_job.rb', line 11 def transform { type.singularize => payload } end |