Class: Labor::Ability
Instance Method Summary collapse
-
#initialize(payload, job) ⇒ Ability
constructor
A new instance of Ability.
Methods included from Helpers
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 |