Class: Edi::Wayfair::RecordCatalogParentCoverage::Result
- Inherits:
-
Data
- Object
- Data
- Edi::Wayfair::RecordCatalogParentCoverage::Result
- Defined in:
- app/services/edi/wayfair/record_catalog_parent_coverage.rb
Overview
Service result: updated counts catalog items whose parent-code set was
written; errors lists scan/coverage failures or per-item persist errors.
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#updated ⇒ Object
readonly
Returns the value of attribute updated.
Instance Method Summary collapse
-
#initialize(updated: 0, errors: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(updated: 0, errors: []) ⇒ Result
Returns a new instance of Result.
21 |
# File 'app/services/edi/wayfair/record_catalog_parent_coverage.rb', line 21 def initialize(updated: 0, errors: []) = super |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors
18 19 20 |
# File 'app/services/edi/wayfair/record_catalog_parent_coverage.rb', line 18 def errors @errors end |
#updated ⇒ Object (readonly)
Returns the value of attribute updated
18 19 20 |
# File 'app/services/edi/wayfair/record_catalog_parent_coverage.rb', line 18 def updated @updated end |