Class: Edi::Walmart::ShipWithWalmart::DiscardResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/walmart/ship_with_walmart.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, error: nil) ⇒ DiscardResult

Returns a new instance of DiscardResult.



36
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 36

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

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



35
36
37
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 35

def error
  @error
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



35
36
37
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 35

def success
  @success
end