Class: Edi::Amazon::ShipWithAmazon::DocumentResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/amazon/ship_with_amazon.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, label_data: nil, format: nil, error: nil) ⇒ DocumentResult

Returns a new instance of DocumentResult.



27
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 27

def initialize(success: nil, label_data: nil, format: nil, error: nil) = super

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



26
27
28
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 26

def error
  @error
end

#formatObject (readonly)

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



26
27
28
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 26

def format
  @format
end

#label_dataObject (readonly)

Returns the value of attribute label_data

Returns:

  • (Object)

    the current value of label_data



26
27
28
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 26

def label_data
  @label_data
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



26
27
28
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 26

def success
  @success
end