Class: Customer::GoogleLeadProcessor::Result
- Inherits:
-
Data
- Object
- Data
- Customer::GoogleLeadProcessor::Result
- Defined in:
- app/services/customer/google_lead_processor.rb
Instance Attribute Summary collapse
-
#customer ⇒ Object
readonly
Returns the value of attribute customer.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, errors: [], customer: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(success: nil, errors: [], customer: nil) ⇒ Result
Returns a new instance of Result.
4 |
# File 'app/services/customer/google_lead_processor.rb', line 4 def initialize(success: nil, errors: [], customer: nil) = super |
Instance Attribute Details
#customer ⇒ Object (readonly)
Returns the value of attribute customer
3 4 5 |
# File 'app/services/customer/google_lead_processor.rb', line 3 def customer @customer end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors
3 4 5 |
# File 'app/services/customer/google_lead_processor.rb', line 3 def errors @errors end |
#success ⇒ Object (readonly)
Returns the value of attribute success
3 4 5 |
# File 'app/services/customer/google_lead_processor.rb', line 3 def success @success end |