Class: Catalog::AmazonBuyBoxRecoveryService::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(processed_count: nil, price_lowered_count: nil, flagged_count: nil, skipped_count: nil, messages: nil) ⇒ Result

Returns a new instance of Result.



14
# File 'app/services/catalog/amazon_buy_box_recovery_service.rb', line 14

def initialize(processed_count: nil, price_lowered_count: nil, flagged_count: nil, skipped_count: nil, messages: nil) = super

Instance Attribute Details

#flagged_countObject (readonly)

Returns the value of attribute flagged_count

Returns:

  • (Object)

    the current value of flagged_count



13
14
15
# File 'app/services/catalog/amazon_buy_box_recovery_service.rb', line 13

def flagged_count
  @flagged_count
end

#messagesObject (readonly)

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



13
14
15
# File 'app/services/catalog/amazon_buy_box_recovery_service.rb', line 13

def messages
  @messages
end

#price_lowered_countObject (readonly)

Returns the value of attribute price_lowered_count

Returns:

  • (Object)

    the current value of price_lowered_count



13
14
15
# File 'app/services/catalog/amazon_buy_box_recovery_service.rb', line 13

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



13
14
15
# File 'app/services/catalog/amazon_buy_box_recovery_service.rb', line 13

def processed_count
  @processed_count
end

#skipped_countObject (readonly)

Returns the value of attribute skipped_count

Returns:

  • (Object)

    the current value of skipped_count



13
14
15
# File 'app/services/catalog/amazon_buy_box_recovery_service.rb', line 13

def skipped_count
  @skipped_count
end