Class: Warranty::RegistrantResolver::Result
- Inherits:
-
Data
- Object
- Data
- Warranty::RegistrantResolver::Result
- Defined in:
- app/services/warranty/registrant_resolver.rb
Overview
created distinguishes a brand-new Party (flagged in CRM as originating
from a warranty registration) from a matched existing customer.
Instance Attribute Summary collapse
-
#created ⇒ Object
readonly
Returns the value of attribute created.
-
#customer ⇒ Object
readonly
Returns the value of attribute customer.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, customer: nil, created: false, error: nil) ⇒ Object
constructor
Initializes.
Constructor Details
#initialize(success: nil, customer: nil, created: false, error: nil) ⇒ Object
Initializes.
38 |
# File 'app/services/warranty/registrant_resolver.rb', line 38 def initialize(success: nil, customer: nil, created: false, error: nil) = super |
Instance Attribute Details
#created ⇒ Object (readonly)
Returns the value of attribute created
30 31 32 |
# File 'app/services/warranty/registrant_resolver.rb', line 30 def created @created end |
#customer ⇒ Object (readonly)
Returns the value of attribute customer
30 31 32 |
# File 'app/services/warranty/registrant_resolver.rb', line 30 def customer @customer end |
#error ⇒ Object (readonly)
Returns the value of attribute error
30 31 32 |
# File 'app/services/warranty/registrant_resolver.rb', line 30 def error @error end |
#success ⇒ Object (readonly)
Returns the value of attribute success
30 31 32 |
# File 'app/services/warranty/registrant_resolver.rb', line 30 def success @success end |