Class: Pdf::Document::Quote::Result
- Inherits:
-
Data
- Object
- Data
- Pdf::Document::Quote::Result
- Defined in:
- app/services/pdf/document/quote.rb
Overview
Service object: result.
Instance Attribute Summary collapse
-
#pdf ⇒ Object
readonly
Returns the value of attribute pdf.
-
#quote ⇒ Object
readonly
Returns the value of attribute quote.
Instance Method Summary collapse
-
#initialize(pdf: nil, quote: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(pdf: nil, quote: nil) ⇒ Result
Returns a new instance of Result.
8 |
# File 'app/services/pdf/document/quote.rb', line 8 def initialize(pdf: nil, quote: nil) = super |
Instance Attribute Details
#pdf ⇒ Object (readonly)
Returns the value of attribute pdf
7 8 9 |
# File 'app/services/pdf/document/quote.rb', line 7 def pdf @pdf end |
#quote ⇒ Object (readonly)
Returns the value of attribute quote
7 8 9 |
# File 'app/services/pdf/document/quote.rb', line 7 def quote @quote end |