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



118
119
120
121
# File 'lib/card/set/event.rb', line 118

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