Class: Catalog::AmazonPricingAutomationService::Result
- Inherits:
-
Data
- Object
- Data
- Catalog::AmazonPricingAutomationService::Result
- Defined in:
- app/services/catalog/amazon_pricing_automation_service.rb
Instance Attribute Summary collapse
-
#blocked_by_external ⇒ Object
readonly
Returns the value of attribute blocked_by_external.
-
#flagged_count ⇒ Object
readonly
Returns the value of attribute flagged_count.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
-
#price_increased_count ⇒ Object
readonly
Returns the value of attribute price_increased_count.
-
#price_lowered_count ⇒ Object
readonly
Returns the value of attribute price_lowered_count.
-
#processed_count ⇒ Object
readonly
Returns the value of attribute processed_count.
Instance Method Summary collapse
-
#initialize(processed_count:, price_increased_count:, price_lowered_count:, flagged_count:, blocked_by_external: [], messages: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(processed_count:, price_increased_count:, price_lowered_count:, flagged_count:, blocked_by_external: [], messages: []) ⇒ Result
Returns a new instance of Result.
16 17 18 |
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 16 def initialize(processed_count:, price_increased_count:, price_lowered_count:, flagged_count:, blocked_by_external: [], messages: []) super end |
Instance Attribute Details
#blocked_by_external ⇒ Object (readonly)
Returns the value of attribute blocked_by_external
15 16 17 |
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15 def blocked_by_external @blocked_by_external end |
#flagged_count ⇒ Object (readonly)
Returns the value of attribute flagged_count
15 16 17 |
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15 def flagged_count @flagged_count end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
15 16 17 |
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15 def @messages end |
#price_increased_count ⇒ Object (readonly)
Returns the value of attribute price_increased_count
15 16 17 |
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15 def price_increased_count @price_increased_count end |
#price_lowered_count ⇒ Object (readonly)
Returns the value of attribute price_lowered_count
15 16 17 |
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15 def price_lowered_count @price_lowered_count end |
#processed_count ⇒ Object (readonly)
Returns the value of attribute processed_count
15 16 17 |
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15 def processed_count @processed_count end |