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, auth, method_name) ⇒ Object



131
132
133
134
135
136
# File 'lib/card/set/event.rb', line 131

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