Class: Invoicing::CombinedPdfGenerator::Result
- Inherits:
-
Data
- Object
- Data
- Invoicing::CombinedPdfGenerator::Result
- Defined in:
- app/services/invoicing/combined_pdf_generator.rb
Instance Attribute Summary collapse
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
-
#invoice ⇒ Object
readonly
Returns the value of attribute invoice.
-
#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.
Instance Method Summary collapse
-
#initialize(pdf_data: nil, pdf_file_path: nil, file_name: nil, invoice: nil, options: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(pdf_data: nil, pdf_file_path: nil, file_name: nil, invoice: nil, options: nil) ⇒ Result
Returns a new instance of Result.
3 |
# File 'app/services/invoicing/combined_pdf_generator.rb', line 3 def initialize(pdf_data: nil, pdf_file_path: nil, file_name: nil, invoice: nil, options: nil) = super |
Instance Attribute Details
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name
2 3 4 |
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2 def file_name @file_name end |
#invoice ⇒ Object (readonly)
Returns the value of attribute invoice
2 3 4 |
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2 def invoice @invoice end |
#options ⇒ Object (readonly)
Returns the value of attribute options
2 3 4 |
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2 def @options end |
#pdf_data ⇒ Object (readonly)
Returns the value of attribute pdf_data
2 3 4 |
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2 def pdf_data @pdf_data end |
#pdf_file_path ⇒ Object (readonly)
Returns the value of attribute pdf_file_path
2 3 4 |
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2 def pdf_file_path @pdf_file_path end |