Class: Quote::CombinedPdfGenerator::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Returns the value of attribute additional_attachments

Returns:

  • (Object)

    the current value of additional_attachments



4
5
6
# File 'app/services/quote/combined_pdf_generator.rb', line 4

def additional_attachments
  @additional_attachments
end

#copy_of_plans_file_nameObject (readonly)

Returns the value of attribute copy_of_plans_file_name

Returns:

  • (Object)

    the current value of 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_pathObject (readonly)

Returns the value of attribute copy_of_plans_pdf_file_path

Returns:

  • (Object)

    the current value of 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_nameObject (readonly)

Returns the value of attribute file_name

Returns:

  • (Object)

    the current value of file_name



4
5
6
# File 'app/services/quote/combined_pdf_generator.rb', line 4

def file_name
  @file_name
end

#optionsObject (readonly)

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



4
5
6
# File 'app/services/quote/combined_pdf_generator.rb', line 4

def options
  @options
end

#pdf_dataObject (readonly)

Returns the value of attribute pdf_data

Returns:

  • (Object)

    the current value of pdf_data



4
5
6
# File 'app/services/quote/combined_pdf_generator.rb', line 4

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



4
5
6
# File 'app/services/quote/combined_pdf_generator.rb', line 4

def pdf_file_path
  @pdf_file_path
end

#quoteObject (readonly)

Returns the value of attribute quote

Returns:

  • (Object)

    the current value of quote



4
5
6
# File 'app/services/quote/combined_pdf_generator.rb', line 4

def quote
  @quote
end