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