Class: Edi::Walmart::ShipWithWalmart::EstimatesResult

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, estimates: nil, error: nil) ⇒ EstimatesResult

Returns a new instance of EstimatesResult.



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

def initialize(success: nil, estimates: 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/walmart/ship_with_walmart.rb', line 26

def error
  @error
end

#estimatesObject (readonly)

Returns the value of attribute estimates

Returns:

  • (Object)

    the current value of estimates



26
27
28
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 26

def estimates
  @estimates
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



26
27
28
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 26

def success
  @success
end