Class: Pdf::Document::BillOfLading::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/pdf/document/bill_of_lading.rb

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Result.



8
# File 'app/services/pdf/document/bill_of_lading.rb', line 8

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

Instance Attribute Details

#file_nameObject (readonly)

Returns the value of attribute file_name

Returns:

  • (Object)

    the current value of file_name



7
8
9
# File 'app/services/pdf/document/bill_of_lading.rb', line 7

def file_name
  @file_name
end

#pdfObject (readonly)

Returns the value of attribute pdf

Returns:

  • (Object)

    the current value of pdf



7
8
9
# File 'app/services/pdf/document/bill_of_lading.rb', line 7

def pdf
  @pdf
end