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

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

Overview

Service object: result.

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.



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

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



7
8
9
# File 'app/services/pdf/label/rma_item.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/label/rma_item.rb', line 7

def pdf
  @pdf
end

#rmaObject (readonly)

Returns the value of attribute rma

Returns:

  • (Object)

    the current value of rma



7
8
9
# File 'app/services/pdf/label/rma_item.rb', line 7

def rma
  @rma
end

#rma_itemsObject (readonly)

Returns the value of attribute rma_items

Returns:

  • (Object)

    the current value of rma_items



7
8
9
# File 'app/services/pdf/label/rma_item.rb', line 7

def rma_items
  @rma_items
end