Class: Pdf::Label::StorageLocationItem::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/pdf/label/storage_location_item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Result.



3
# File 'app/services/pdf/label/storage_location_item.rb', line 3

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



2
3
4
# File 'app/services/pdf/label/storage_location_item.rb', line 2

def file_name
  @file_name
end

#pdfObject (readonly)

Returns the value of attribute pdf

Returns:

  • (Object)

    the current value of pdf



2
3
4
# File 'app/services/pdf/label/storage_location_item.rb', line 2

def pdf
  @pdf
end