Class: Backburner::JobServer
- Inherits:
-
BackburnerObject
- Object
- BackburnerObject
- Backburner::JobServer
- Defined in:
- lib/backburner/job_server.rb
Instance Attribute Summary
Attributes inherited from BackburnerObject
Instance Method Summary collapse
-
#initialize(raw_data, connection) ⇒ JobServer
constructor
A new instance of JobServer.
- #time ⇒ Object
Methods inherited from BackburnerObject
Constructor Details
#initialize(raw_data, connection) ⇒ JobServer
Returns a new instance of JobServer.
4 5 6 7 |
# File 'lib/backburner/job_server.rb', line 4 def initialize raw_data, connection @raw_data = raw_data @connection = connection end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Backburner::BackburnerObject
Instance Method Details
#time ⇒ Object
9 10 11 |
# File 'lib/backburner/job_server.rb', line 9 def time @raw_data.srv_task_time end |