Class: Jbr::Mock::Job
Constant Summary
Constants inherited
from Job
Job::FIND
Instance Attribute Summary
Attributes inherited from Job
#quote_id
Attributes inherited from Resource
#id
Instance Method Summary
collapse
Methods inherited from Resource
#initialize
Constructor Details
This class inherits a constructor from Jbr::Resource
Instance Method Details
#completed_at ⇒ Object
12
|
# File 'lib/jbr/mock/job.rb', line 12
def completed_at = Jbr.mock.job[:completed_at]
|
#find(_) ⇒ Object
3
4
5
6
7
8
|
# File 'lib/jbr/mock/job.rb', line 3
def find(_)
@id = Jbr.mock.job[:id]
@quote_id = Jbr.mock.job[:quote_id]
self
end
|
#scheduled_at ⇒ Object
10
|
# File 'lib/jbr/mock/job.rb', line 10
def scheduled_at = Jbr.mock.job[:scheduled_at]
|