Class: Quote::CombinedPdfGenerator::Result
- Inherits:
-
Data
- Object
- Data
- Quote::CombinedPdfGenerator::Result
- Defined in:
- app/services/quote/combined_pdf_generator.rb
Instance Attribute Summary collapse
-
#additional_attachments ⇒ Object
readonly
Returns the value of attribute additional_attachments.
-
#copy_of_plans_file_name ⇒ Object
readonly
Returns the value of attribute copy_of_plans_file_name.
-
#copy_of_plans_pdf_file_path ⇒ Object
readonly
Returns the value of attribute copy_of_plans_pdf_file_path.
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#pdf_data ⇒ Object
readonly
Returns the value of attribute pdf_data.
-
#pdf_file_path ⇒ Object
readonly
Returns the value of attribute pdf_file_path.
-
#quote ⇒ Object
readonly
Returns the value of attribute quote.
Instance Method Summary collapse
-
#initialize(pdf_data: nil, pdf_file_path: nil, copy_of_plans_pdf_file_path: nil, copy_of_plans_file_name: nil, file_name: nil, quote: nil, options: nil, additional_attachments: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(pdf_data: nil, pdf_file_path: nil, copy_of_plans_pdf_file_path: nil, copy_of_plans_file_name: nil, file_name: nil, quote: nil, options: nil, additional_attachments: nil) ⇒ Result
Returns a new instance of Result.
5 |
# File 'app/services/quote/combined_pdf_generator.rb', line 5 def initialize(pdf_data: nil, pdf_file_path: nil, copy_of_plans_pdf_file_path: nil, copy_of_plans_file_name: nil, file_name: nil, quote: nil, options: nil, additional_attachments: nil) = super |
Instance Attribute Details
#additional_attachments ⇒ Object (readonly)
Returns the value of attribute additional_attachments
4 5 6 |
# File 'app/services/quote/combined_pdf_generator.rb', line 4 def @additional_attachments end |
#copy_of_plans_file_name ⇒ Object (readonly)
Returns the value of attribute copy_of_plans_file_name
4 5 6 |
# File 'app/services/quote/combined_pdf_generator.rb', line 4 def copy_of_plans_file_name @copy_of_plans_file_name end |
#copy_of_plans_pdf_file_path ⇒ Object (readonly)
Returns the value of attribute copy_of_plans_pdf_file_path
4 5 6 |
# File 'app/services/quote/combined_pdf_generator.rb', line 4 def copy_of_plans_pdf_file_path @copy_of_plans_pdf_file_path end |
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name
4 5 6 |
# File 'app/services/quote/combined_pdf_generator.rb', line 4 def file_name @file_name end |
#options ⇒ Object (readonly)
Returns the value of attribute options
4 5 6 |
# File 'app/services/quote/combined_pdf_generator.rb', line 4 def @options end |
#pdf_data ⇒ Object (readonly)
Returns the value of attribute pdf_data
4 5 6 |
# File 'app/services/quote/combined_pdf_generator.rb', line 4 def pdf_data @pdf_data end |
#pdf_file_path ⇒ Object (readonly)
Returns the value of attribute pdf_file_path
4 5 6 |
# File 'app/services/quote/combined_pdf_generator.rb', line 4 def pdf_file_path @pdf_file_path end |
#quote ⇒ Object (readonly)
Returns the value of attribute quote
4 5 6 |
# File 'app/services/quote/combined_pdf_generator.rb', line 4 def quote @quote end |