Class: CatalogItem::LegacyPullAmazonCatalogItemListingsData::Result
- Inherits:
-
Data
- Object
- Data
- CatalogItem::LegacyPullAmazonCatalogItemListingsData::Result
- Defined in:
- app/services/catalog_item/legacy_pull_amazon_catalog_item_listings_data.rb
Instance Attribute Summary collapse
-
#catalog_item_listings_data_pulled ⇒ Object
readonly
Returns the value of attribute catalog_item_listings_data_pulled.
-
#catalog_items_failed ⇒ Object
readonly
Returns the value of attribute catalog_items_failed.
-
#catalog_items_updated ⇒ Object
readonly
Returns the value of attribute catalog_items_updated.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
Instance Method Summary collapse
- #catalog_item_listings_data_pulled? ⇒ Boolean
-
#initialize(catalog_item_listings_data_pulled: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(catalog_item_listings_data_pulled: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) ⇒ Result
Returns a new instance of Result.
3 |
# File 'app/services/catalog_item/legacy_pull_amazon_catalog_item_listings_data.rb', line 3 def initialize(catalog_item_listings_data_pulled: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) = super |
Instance Attribute Details
#catalog_item_listings_data_pulled ⇒ Object (readonly)
Returns the value of attribute catalog_item_listings_data_pulled
2 3 4 |
# File 'app/services/catalog_item/legacy_pull_amazon_catalog_item_listings_data.rb', line 2 def catalog_item_listings_data_pulled @catalog_item_listings_data_pulled end |
#catalog_items_failed ⇒ Object (readonly)
Returns the value of attribute catalog_items_failed
2 3 4 |
# File 'app/services/catalog_item/legacy_pull_amazon_catalog_item_listings_data.rb', line 2 def catalog_items_failed @catalog_items_failed end |
#catalog_items_updated ⇒ Object (readonly)
Returns the value of attribute catalog_items_updated
2 3 4 |
# File 'app/services/catalog_item/legacy_pull_amazon_catalog_item_listings_data.rb', line 2 def catalog_items_updated @catalog_items_updated end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
2 3 4 |
# File 'app/services/catalog_item/legacy_pull_amazon_catalog_item_listings_data.rb', line 2 def @messages end |
Instance Method Details
#catalog_item_listings_data_pulled? ⇒ Boolean
4 |
# File 'app/services/catalog_item/legacy_pull_amazon_catalog_item_listings_data.rb', line 4 def catalog_item_listings_data_pulled? = catalog_item_listings_data_pulled |