Class: Catalog::PushCatalogItemPrice::Result
- Inherits:
-
Data
- Object
- Data
- Catalog::PushCatalogItemPrice::Result
- Defined in:
- app/services/catalog/push_catalog_item_price.rb
Instance Attribute Summary collapse
-
#all_price_pushed ⇒ Object
readonly
Returns the value of attribute all_price_pushed.
-
#catalog_item ⇒ Object
readonly
Returns the value of attribute catalog_item.
-
#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
- #all_price_pushed? ⇒ Boolean
-
#initialize(all_price_pushed: nil, catalog_item: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(all_price_pushed: nil, catalog_item: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) ⇒ Result
Returns a new instance of Result.
5 |
# File 'app/services/catalog/push_catalog_item_price.rb', line 5 def initialize(all_price_pushed: nil, catalog_item: nil, catalog_items_updated: [], catalog_items_failed: [], messages: []) = super |
Instance Attribute Details
#all_price_pushed ⇒ Object (readonly)
Returns the value of attribute all_price_pushed
4 5 6 |
# File 'app/services/catalog/push_catalog_item_price.rb', line 4 def all_price_pushed @all_price_pushed end |
#catalog_item ⇒ Object (readonly)
Returns the value of attribute catalog_item
4 5 6 |
# File 'app/services/catalog/push_catalog_item_price.rb', line 4 def catalog_item @catalog_item end |
#catalog_items_failed ⇒ Object (readonly)
Returns the value of attribute catalog_items_failed
4 5 6 |
# File 'app/services/catalog/push_catalog_item_price.rb', line 4 def catalog_items_failed @catalog_items_failed end |
#catalog_items_updated ⇒ Object (readonly)
Returns the value of attribute catalog_items_updated
4 5 6 |
# File 'app/services/catalog/push_catalog_item_price.rb', line 4 def catalog_items_updated @catalog_items_updated end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
4 5 6 |
# File 'app/services/catalog/push_catalog_item_price.rb', line 4 def @messages end |
Instance Method Details
#all_price_pushed? ⇒ Boolean
6 |
# File 'app/services/catalog/push_catalog_item_price.rb', line 6 def all_price_pushed? = all_price_pushed |