Class: Jbr::Mock::Job
Overview
A job that reads from Jbr.mock instead of Jobber.
Constant Summary
Constants inherited from Job
Instance Attribute Summary
Attributes inherited from Job
Attributes inherited from Resource
Instance Method Summary collapse
- #completed_at ⇒ Object
-
#find(_) ⇒ Mock::Job
Itself, carrying the mocked IDs.
-
#scheduled_at ⇒ Time?
The times the app asked for.
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Jbr::Resource
Instance Method Details
#completed_at ⇒ Object
15 |
# File 'lib/jbr/mock/job.rb', line 15 def completed_at = Jbr.mock.job[:completed_at] |