Class: Backburner::Job

Inherits:
BackburnerObject show all
Defined in:
lib/backburner/job.rb

Instance Attribute Summary

Attributes inherited from BackburnerObject

#client, #data, #handler

Instance Method Summary collapse

Methods inherited from BackburnerObject

#initialize, #method_missing, #reload

Constructor Details

This class inherits a constructor from Backburner::BackburnerObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Backburner::BackburnerObject

Instance Method Details

#create(name, file_path, *parameters) ⇒ Object



11
12
13
# File 'lib/backburner/job.rb', line 11

def create name, file_path, *parameters

end

#reloaderObject



7
8
9
# File 'lib/backburner/job.rb', line 7

def reloader
  @client.job!(@handler)
end