Class: Quote::LetterPdfGenerator::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pdf: nil, quote: nil) ⇒ Result

Returns a new instance of Result.



5
# File 'app/services/quote/letter_pdf_generator.rb', line 5

def initialize(pdf: nil, quote: nil) = super

Instance Attribute Details

#pdfObject (readonly)

Returns the value of attribute pdf

Returns:

  • (Object)

    the current value of pdf



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

def pdf
  @pdf
end

#quoteObject (readonly)

Returns the value of attribute quote

Returns:

  • (Object)

    the current value of quote



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

def quote
  @quote
end