Class: Pult::Panel::Executor::Job

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/init/struct.rb,
lib/pult/panel/executor.rb

Instance Method Summary collapse

Instance Method Details

#perform(hash_id, action, *args) ⇒ Object



4
5
6
7
# File 'lib/pult/panel/executor.rb', line 4

def perform hash_id, action, *args
  hash = ObjectSpace._id2ref hash_id
  Pult::Panel::Executor.run! hash, action, *args
end