Class: Customer::UpdateProfile::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Result.



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

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

Instance Attribute Details

#profile_changedObject (readonly)

Returns the value of attribute profile_changed

Returns:

  • (Object)

    the current value of profile_changed



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

def profile_changed
  @profile_changed
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.rb', line 2

def success
  @success
end