Class: Jbr::Quote
Overview
A price a Jobber user sent to their client.
Direct Known Subclasses
Constant Summary collapse
- FIND =
The query that reads one quote and the request it came from.
<<~GRAPHQL query($id: EncodedId!) { quote(id: $id) { id request { id } } } GRAPHQL
Instance Attribute Summary collapse
-
#request_id ⇒ String?
readonly
The ID of the request the quote answers.
Attributes inherited from Resource
Instance Method Summary collapse
-
#find(id) ⇒ Quote?
Itself, or nil when Jobber has no such quote.
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Jbr::Resource
Instance Attribute Details
#request_id ⇒ String? (readonly)
Returns the ID of the request the quote answers.
12 13 14 |
# File 'lib/jbr/quote.rb', line 12 def request_id @request_id end |