Class: Customer::SyncWithTaxjar::Result
- Inherits:
-
Data
- Object
- Data
- Customer::SyncWithTaxjar::Result
- Defined in:
- app/services/customer/sync_with_taxjar.rb
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.
4 |
# File 'app/services/customer/sync_with_taxjar.rb', line 4 def initialize(success: nil, exempt_regions: nil, message: nil) = super |
Instance Attribute Details
#exempt_regions ⇒ Object (readonly)
Returns the value of attribute exempt_regions
3 4 5 |
# File 'app/services/customer/sync_with_taxjar.rb', line 3 def exempt_regions @exempt_regions end |
#message ⇒ Object (readonly)
Returns the value of attribute message
3 4 5 |
# File 'app/services/customer/sync_with_taxjar.rb', line 3 def @message end |
#success ⇒ Object (readonly)
Returns the value of attribute success
3 4 5 |
# File 'app/services/customer/sync_with_taxjar.rb', line 3 def success @success end |
Instance Method Details
#success? ⇒ Boolean
5 |
# File 'app/services/customer/sync_with_taxjar.rb', line 5 def success? = success |