Class: CatalogItem::LegacySetAmazonCatalogItemPricesFromListingsData::Result
- Inherits:
-
Data
- Object
- Data
- CatalogItem::LegacySetAmazonCatalogItemPricesFromListingsData::Result
- Defined in:
- app/services/catalog_item/legacy_set_amazon_catalog_item_prices_from_listings_data.rb
Instance Attribute Summary collapse
-
#catalog_item_price_set ⇒ Object
readonly
Returns the value of attribute catalog_item_price_set.
-
#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_price_set? ⇒ Boolean
-
#initialize(catalog_item_price_set: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(catalog_item_price_set: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) ⇒ Result
Returns a new instance of Result.
3 |
# File 'app/services/catalog_item/legacy_set_amazon_catalog_item_prices_from_listings_data.rb', line 3 def initialize(catalog_item_price_set: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) = super |
Instance Attribute Details
#catalog_item_price_set ⇒ Object (readonly)
Returns the value of attribute catalog_item_price_set
2 3 4 |
# File 'app/services/catalog_item/legacy_set_amazon_catalog_item_prices_from_listings_data.rb', line 2 def catalog_item_price_set @catalog_item_price_set end |
#catalog_items_failed ⇒ Object (readonly)
Returns the value of attribute catalog_items_failed
2 3 4 |
# File 'app/services/catalog_item/legacy_set_amazon_catalog_item_prices_from_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_set_amazon_catalog_item_prices_from_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_set_amazon_catalog_item_prices_from_listings_data.rb', line 2 def @messages end |
Instance Method Details
#catalog_item_price_set? ⇒ Boolean
4 |
# File 'app/services/catalog_item/legacy_set_amazon_catalog_item_prices_from_listings_data.rb', line 4 def catalog_item_price_set? = catalog_item_price_set |