Class: Card::Set::Event::IntegrateWithDelayJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/card/set/event.rb

Instance Method Summary collapse

Instance Method Details

#perform(card, card_attribs, env, current_id, method_name) ⇒ Object



125
126
127
128
# File 'lib/card/set/event.rb', line 125

def perform card, card_attribs, env, current_id, method_name
  card.deserialize_for_active_job! card_attribs, env, current_id
  card.send method_name
end