Class: Edi::Wayfair::CatalogItemUpdateSender::UpdateResult
- Inherits:
-
Data
- Object
- Data
- Edi::Wayfair::CatalogItemUpdateSender::UpdateResult
- Defined in:
- app/services/edi/wayfair/catalog_item_update_sender.rb
Overview
Service object: update result.
Instance Attribute Summary collapse
-
#ecl ⇒ Object
readonly
Returns the value of attribute ecl.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
-
#request_id ⇒ Object
readonly
Returns the value of attribute request_id.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, request_id: nil, errors: nil, ecl: nil, payload: nil) ⇒ UpdateResult
constructor
A new instance of UpdateResult.
Constructor Details
#initialize(success: nil, request_id: nil, errors: nil, ecl: nil, payload: nil) ⇒ UpdateResult
Returns a new instance of UpdateResult.
59 |
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 59 def initialize(success: nil, request_id: nil, errors: nil, ecl: nil, payload: nil) = super |
Instance Attribute Details
#ecl ⇒ Object (readonly)
Returns the value of attribute ecl
58 59 60 |
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58 def ecl @ecl end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors
58 59 60 |
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58 def errors @errors end |
#payload ⇒ Object (readonly)
Returns the value of attribute payload
58 59 60 |
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58 def payload @payload end |
#request_id ⇒ Object (readonly)
Returns the value of attribute request_id
58 59 60 |
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58 def request_id @request_id end |
#success ⇒ Object (readonly)
Returns the value of attribute success
58 59 60 |
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58 def success @success end |