Class: Customer::UpdateProfileStats::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/customer/update_profile_stats.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, customers_updated: nil) ⇒ Result

Returns a new instance of Result.



3
# File 'app/services/customer/update_profile_stats.rb', line 3

def initialize(success: nil, customers_updated: nil) = super

Instance Attribute Details

#customers_updatedObject (readonly)

Returns the value of attribute customers_updated

Returns:

  • (Object)

    the current value of customers_updated



2
3
4
# File 'app/services/customer/update_profile_stats.rb', line 2

def customers_updated
  @customers_updated
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



2
3
4
# File 'app/services/customer/update_profile_stats.rb', line 2

def success
  @success
end