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

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

Instance Method Summary collapse

Instance Method Details

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



156
157
158
159
160
161
# File 'lib/card/set/event.rb', line 156

def perform card, card_attribs, env, auth, method_name
  card.deserialize_for_active_job! card_attribs
  card.with_env_and_auth env, auth do
    card.send method_name
  end
end