Class: Pdf::Label::RmaItem::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Result.



4
# File 'app/services/pdf/label/rma_item.rb', line 4

def initialize(pdf: nil, rma: nil, rma_items: 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



3
4
5
# File 'app/services/pdf/label/rma_item.rb', line 3

def file_name
  @file_name
end

#pdfObject (readonly)

Returns the value of attribute pdf

Returns:

  • (Object)

    the current value of pdf



3
4
5
# File 'app/services/pdf/label/rma_item.rb', line 3

def pdf
  @pdf
end

#rmaObject (readonly)

Returns the value of attribute rma

Returns:

  • (Object)

    the current value of rma



3
4
5
# File 'app/services/pdf/label/rma_item.rb', line 3

def rma
  @rma
end

#rma_itemsObject (readonly)

Returns the value of attribute rma_items

Returns:

  • (Object)

    the current value of rma_items



3
4
5
# File 'app/services/pdf/label/rma_item.rb', line 3

def rma_items
  @rma_items
end