Class: Edi::Wayfair::CatalogReadV2Request::Result
- Inherits:
-
Data
- Object
- Data
- Edi::Wayfair::CatalogReadV2Request::Result
- Defined in:
- app/services/edi/wayfair/catalog_read_v2_request.rb
Overview
Service object: request outcome (data on success, error on failure).
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
- #initialize(data: nil, error: nil) ⇒ Result constructor
Constructor Details
#initialize(data: nil, error: nil) ⇒ Result
24 |
# File 'app/services/edi/wayfair/catalog_read_v2_request.rb', line 24 def initialize(data: nil, error: nil) = super |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data
20 21 22 |
# File 'app/services/edi/wayfair/catalog_read_v2_request.rb', line 20 def data @data end |
#error ⇒ Object (readonly)
Returns the value of attribute error
20 21 22 |
# File 'app/services/edi/wayfair/catalog_read_v2_request.rb', line 20 def error @error end |