Class: Edi::Walmart::ShipWithWalmart::PackageTypesResult
- Inherits:
-
Data
- Object
- Data
- Edi::Walmart::ShipWithWalmart::PackageTypesResult
- Defined in:
- app/services/edi/walmart/ship_with_walmart.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#package_types ⇒ Object
readonly
Returns the value of attribute package_types.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, package_types: nil, error: nil) ⇒ PackageTypesResult
constructor
A new instance of PackageTypesResult.
Constructor Details
#initialize(success: nil, package_types: nil, error: nil) ⇒ PackageTypesResult
Returns a new instance of PackageTypesResult.
24 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 24 def initialize(success: nil, package_types: nil, error: nil) = super |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
23 24 25 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 23 def error @error end |
#package_types ⇒ Object (readonly)
Returns the value of attribute package_types
23 24 25 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 23 def package_types @package_types end |
#success ⇒ Object (readonly)
Returns the value of attribute success
23 24 25 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 23 def success @success end |