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