Class: Idcf::Ilb::Resources::Job
- Defined in:
- lib/idcf/ilb/resources/job.rb
Overview
Job resource class
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#refresh ⇒ Job
Refresh this job.
Methods inherited from Base
class_name, generate_readers, inherited, #initialize, #inspect, validator_class
Constructor Details
This class inherits a constructor from Idcf::Ilb::Resources::Base
Instance Method Details
#refresh ⇒ Job
Refresh this job
9 10 11 12 |
# File 'lib/idcf/ilb/resources/job.rb', line 9 def refresh self.attributes = client.get_job(id).body self end |