Class: Labor::Ability

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/labor/ability.rb

Instance Method Summary collapse

Methods included from Helpers

#classify, #constantize, #log

Constructor Details

#initialize(payload, job) ⇒ Ability

Returns a new instance of Ability.



5
6
7
8
9
10
# File 'lib/labor/ability.rb', line 5

def initialize(payload, job)
  puts "Payload: #{payload.inspect}"
  
  @payload = payload.symbolize_keys!
  @job = job
end