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