Class: Customer::UpdateProfileStats::Result
- Inherits:
-
Data
- Object
- Data
- Customer::UpdateProfileStats::Result
- Defined in:
- app/services/customer/update_profile_stats.rb
Overview
Service object: result.
Instance Attribute Summary collapse
-
#customers_updated ⇒ Object
readonly
Returns the value of attribute customers_updated.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, customers_updated: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(success: nil, customers_updated: nil) ⇒ Result
Returns a new instance of Result.
6 |
# File 'app/services/customer/update_profile_stats.rb', line 6 def initialize(success: nil, customers_updated: nil) = super |
Instance Attribute Details
#customers_updated ⇒ Object (readonly)
Returns the value of attribute customers_updated
5 6 7 |
# File 'app/services/customer/update_profile_stats.rb', line 5 def customers_updated @customers_updated end |
#success ⇒ Object (readonly)
Returns the value of attribute success
5 6 7 |
# File 'app/services/customer/update_profile_stats.rb', line 5 def success @success end |