Class: Invoicing::CombinedPdfGenerator::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/invoicing/combined_pdf_generator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (readonly)

Returns the value of attribute file_name

Returns:

  • (Object)

    the current value of file_name



2
3
4
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2

def file_name
  @file_name
end

#invoiceObject (readonly)

Returns the value of attribute invoice

Returns:

  • (Object)

    the current value of invoice



2
3
4
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2

def invoice
  @invoice
end

#optionsObject (readonly)

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



2
3
4
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2

def options
  @options
end

#pdf_dataObject (readonly)

Returns the value of attribute pdf_data

Returns:

  • (Object)

    the current value of pdf_data



2
3
4
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2

def pdf_data
  @pdf_data
end

#pdf_file_pathObject (readonly)

Returns the value of attribute pdf_file_path

Returns:

  • (Object)

    the current value of pdf_file_path



2
3
4
# File 'app/services/invoicing/combined_pdf_generator.rb', line 2

def pdf_file_path
  @pdf_file_path
end