Class: Catalog::AmazonPricingAutomationService::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/catalog/amazon_pricing_automation_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_externalObject (readonly)

Returns the value of attribute blocked_by_external

Returns:

  • (Object)

    the current value of 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_countObject (readonly)

Returns the value of attribute flagged_count

Returns:

  • (Object)

    the current value of flagged_count



15
16
17
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15

def flagged_count
  @flagged_count
end

#messagesObject (readonly)

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



15
16
17
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15

def messages
  @messages
end

#price_increased_countObject (readonly)

Returns the value of attribute price_increased_count

Returns:

  • (Object)

    the current value of 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_countObject (readonly)

Returns the value of attribute price_lowered_count

Returns:

  • (Object)

    the current value of 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_countObject (readonly)

Returns the value of attribute processed_count

Returns:

  • (Object)

    the current value of processed_count



15
16
17
# File 'app/services/catalog/amazon_pricing_automation_service.rb', line 15

def processed_count
  @processed_count
end