Class: Api::Taxjar::Customer

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

Overview

A customer record returned by the TaxJar customers endpoints. Only
exempt_regions is read (and merely carried into the sync Result).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exempt_regions: []) ⇒ Customer

Returns a new instance of Customer.



8
# File 'app/services/api/taxjar/customer.rb', line 8

def initialize(exempt_regions: []) = super

Instance Attribute Details

#exempt_regionsObject (readonly)

Returns the value of attribute exempt_regions

Returns:

  • (Object)

    the current value of exempt_regions



7
8
9
# File 'app/services/api/taxjar/customer.rb', line 7

def exempt_regions
  @exempt_regions
end