Class: Edi::Walmart::ShipWithWalmart::DiscardResult
- Inherits:
-
Data
- Object
- Data
- Edi::Walmart::ShipWithWalmart::DiscardResult
- Defined in:
- app/services/edi/walmart/ship_with_walmart.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, error: nil) ⇒ DiscardResult
constructor
A new instance of DiscardResult.
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
#error ⇒ Object (readonly)
Returns the value of attribute error
35 36 37 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 35 def error @error end |
#success ⇒ Object (readonly)
Returns the value of attribute success
35 36 37 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 35 def success @success end |