Class: Customer::UpdateProfile::Result

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

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_changedObject (readonly)

Returns the value of attribute profile_changed

Returns:

  • (Object)

    the current value of profile_changed



5
6
7
# File 'app/services/customer/update_profile.rb', line 5

def profile_changed
  @profile_changed
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



5
6
7
# File 'app/services/customer/update_profile.rb', line 5

def success
  @success
end