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

Inherits:
ApplicationJob
  • Object
show all
Defined in:
lib/card/set/event/delayed_event.rb

Instance Method Summary collapse

Instance Method Details

#perform(act_id, card, card_attribs, env, auth, method_name) ⇒ Object



37
38
39
40
41
42
# File 'lib/card/set/event/delayed_event.rb', line 37

def perform act_id, card, card_attribs, env, auth, method_name
  card.deserialize_for_active_job! card_attribs
  ActManager.contextualize_delayed_event act_id, card, env, auth do
    card.send method_name
  end
end