Class: Edi::Walmart::ShipWithWalmart::EstimatesResult
- Inherits:
-
Data
- Object
- Data
- Edi::Walmart::ShipWithWalmart::EstimatesResult
- Defined in:
- app/services/edi/walmart/ship_with_walmart.rb
Overview
Service object: estimates result.
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#estimates ⇒ Object
readonly
Returns the value of attribute estimates.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, estimates: nil, error: nil) ⇒ EstimatesResult
constructor
A new instance of EstimatesResult.
Constructor Details
#initialize(success: nil, estimates: nil, error: nil) ⇒ EstimatesResult
Returns a new instance of EstimatesResult.
29 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 29 def initialize(success: nil, estimates: nil, error: nil) = super |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
28 29 30 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 28 def error @error end |
#estimates ⇒ Object (readonly)
Returns the value of attribute estimates
28 29 30 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 28 def estimates @estimates end |
#success ⇒ Object (readonly)
Returns the value of attribute success
28 29 30 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 28 def success @success end |