avatax 20.7.0 → 20.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/avatax/client/accounts.rb +22 -55
- data/lib/avatax/client/addresses.rb +4 -10
- data/lib/avatax/client/advancedrules.rb +12 -30
- data/lib/avatax/client/avafileforms.rb +10 -25
- data/lib/avatax/client/batches.rb +16 -40
- data/lib/avatax/client/certexpressinvites.rb +6 -15
- data/lib/avatax/client/certificates.rb +30 -75
- data/lib/avatax/client/companies.rb +32 -80
- data/lib/avatax/client/compliance.rb +2 -5
- data/lib/avatax/client/contacts.rb +12 -30
- data/lib/avatax/client/customers.rb +26 -65
- data/lib/avatax/client/datasources.rb +12 -30
- data/lib/avatax/client/definitions.rb +118 -295
- data/lib/avatax/client/distancethresholds.rb +12 -30
- data/lib/avatax/client/filingcalendars.rb +2 -5
- data/lib/avatax/client/filings.rb +2 -5
- data/lib/avatax/client/firmclientlinkages.rb +18 -45
- data/lib/avatax/client/free.rb +6 -15
- data/lib/avatax/client/fundingrequests.rb +4 -10
- data/lib/avatax/client/items.rb +38 -95
- data/lib/avatax/client/jurisdictionoverrides.rb +12 -30
- data/lib/avatax/client/locations.rb +14 -35
- data/lib/avatax/client/multidocument.rb +20 -50
- data/lib/avatax/client/nexus.rb +16 -40
- data/lib/avatax/client/notifications.rb +6 -15
- data/lib/avatax/client/provisioning.rb +4 -10
- data/lib/avatax/client/registrar.rb +20 -50
- data/lib/avatax/client/reports.rb +8 -20
- data/lib/avatax/client/settings.rb +12 -30
- data/lib/avatax/client/subscriptions.rb +6 -15
- data/lib/avatax/client/taxcodes.rb +12 -30
- data/lib/avatax/client/taxcontent.rb +6 -15
- data/lib/avatax/client/taxrules.rb +12 -30
- data/lib/avatax/client/transactions.rb +42 -105
- data/lib/avatax/client/upcs.rb +12 -30
- data/lib/avatax/client/users.rb +16 -40
- data/lib/avatax/client/utilities.rb +6 -15
- data/lib/avatax/version.rb +1 -1
- metadata +2 -2
@@ -15,11 +15,8 @@ module AvaTax
|
|
15
15
|
# specific features of AvaTax.
|
16
16
|
# @param serviceTypeId [String] The service to check
|
17
17
|
# @return [Object]
|
18
|
-
def get_my_subscription(serviceTypeId)
|
19
|
-
path
|
20
|
-
get(path)
|
21
|
-
end
|
22
|
-
|
18
|
+
def get_my_subscription(serviceTypeId) path = "/api/v2/utilities/subscriptions/#{serviceTypeId}"
|
19
|
+
get(path) end
|
23
20
|
|
24
21
|
# List all services to which the current user is subscribed
|
25
22
|
#
|
@@ -32,11 +29,8 @@ module AvaTax
|
|
32
29
|
# or subscription to provide useful information to the current user as to whether they are entitled to use
|
33
30
|
# specific features of AvaTax.
|
34
31
|
# @return [FetchResult]
|
35
|
-
def list_my_subscriptions()
|
36
|
-
path
|
37
|
-
get(path)
|
38
|
-
end
|
39
|
-
|
32
|
+
def list_my_subscriptions() path = "/api/v2/utilities/subscriptions"
|
33
|
+
get(path) end
|
40
34
|
|
41
35
|
# Tests connectivity and version of the service
|
42
36
|
#
|
@@ -61,11 +55,8 @@ module AvaTax
|
|
61
55
|
#
|
62
56
|
# * This API may be called without providing authentication credentials.
|
63
57
|
# @return [Object]
|
64
|
-
def ping()
|
65
|
-
path
|
66
|
-
get(path)
|
67
|
-
end
|
68
|
-
|
58
|
+
def ping() path = "/api/v2/utilities/ping"
|
59
|
+
get(path) end
|
69
60
|
end
|
70
61
|
end
|
71
62
|
end
|
data/lib/avatax/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avatax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 20.7.
|
4
|
+
version: 20.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Vorwaller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|