avatax 20.7.0 → 20.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avatax/client/accounts.rb +22 -55
  3. data/lib/avatax/client/addresses.rb +4 -10
  4. data/lib/avatax/client/advancedrules.rb +12 -30
  5. data/lib/avatax/client/avafileforms.rb +10 -25
  6. data/lib/avatax/client/batches.rb +16 -40
  7. data/lib/avatax/client/certexpressinvites.rb +6 -15
  8. data/lib/avatax/client/certificates.rb +30 -75
  9. data/lib/avatax/client/companies.rb +32 -80
  10. data/lib/avatax/client/compliance.rb +2 -5
  11. data/lib/avatax/client/contacts.rb +12 -30
  12. data/lib/avatax/client/customers.rb +26 -65
  13. data/lib/avatax/client/datasources.rb +12 -30
  14. data/lib/avatax/client/definitions.rb +118 -295
  15. data/lib/avatax/client/distancethresholds.rb +12 -30
  16. data/lib/avatax/client/filingcalendars.rb +2 -5
  17. data/lib/avatax/client/filings.rb +2 -5
  18. data/lib/avatax/client/firmclientlinkages.rb +18 -45
  19. data/lib/avatax/client/free.rb +6 -15
  20. data/lib/avatax/client/fundingrequests.rb +4 -10
  21. data/lib/avatax/client/items.rb +38 -95
  22. data/lib/avatax/client/jurisdictionoverrides.rb +12 -30
  23. data/lib/avatax/client/locations.rb +14 -35
  24. data/lib/avatax/client/multidocument.rb +20 -50
  25. data/lib/avatax/client/nexus.rb +16 -40
  26. data/lib/avatax/client/notifications.rb +6 -15
  27. data/lib/avatax/client/provisioning.rb +4 -10
  28. data/lib/avatax/client/registrar.rb +20 -50
  29. data/lib/avatax/client/reports.rb +8 -20
  30. data/lib/avatax/client/settings.rb +12 -30
  31. data/lib/avatax/client/subscriptions.rb +6 -15
  32. data/lib/avatax/client/taxcodes.rb +12 -30
  33. data/lib/avatax/client/taxcontent.rb +6 -15
  34. data/lib/avatax/client/taxrules.rb +12 -30
  35. data/lib/avatax/client/transactions.rb +42 -105
  36. data/lib/avatax/client/upcs.rb +12 -30
  37. data/lib/avatax/client/users.rb +16 -40
  38. data/lib/avatax/client/utilities.rb +6 -15
  39. data/lib/avatax/version.rb +1 -1
  40. metadata +2 -2
@@ -18,11 +18,8 @@ module AvaTax
18
18
  # @param accountId [Integer] The ID of the account that owns this override
19
19
  # @param model [JurisdictionOverrideModel[]] The jurisdiction override objects to create
20
20
  # @return [JurisdictionOverrideModel[]]
21
- def create_jurisdiction_overrides(accountId, model)
22
- path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides"
23
- post(path, model)
24
- end
25
-
21
+ def create_jurisdiction_overrides(accountId, model) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides"
22
+ post(path, model) end
26
23
 
27
24
  # Delete a single override
28
25
  #
@@ -34,11 +31,8 @@ module AvaTax
34
31
  # @param accountId [Integer] The ID of the account that owns this override
35
32
  # @param id [Integer] The ID of the override you wish to delete
36
33
  # @return [ErrorDetail[]]
37
- def delete_jurisdiction_override(accountId, id)
38
- path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
39
- delete(path)
40
- end
41
-
34
+ def delete_jurisdiction_override(accountId, id) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
35
+ delete(path) end
42
36
 
43
37
  # Retrieve a single override
44
38
  #
@@ -55,11 +49,8 @@ module AvaTax
55
49
  # @param accountId [Integer] The ID of the account that owns this override
56
50
  # @param id [Integer] The primary key of this override
57
51
  # @return [Object]
58
- def get_jurisdiction_override(accountId, id)
59
- path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
60
- get(path)
61
- end
62
-
52
+ def get_jurisdiction_override(accountId, id) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
53
+ get(path) end
63
54
 
64
55
  # Retrieve overrides for this account
65
56
  #
@@ -83,11 +74,8 @@ module AvaTax
83
74
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
84
75
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
85
76
  # @return [FetchResult]
86
- def list_jurisdiction_overrides_by_account(accountId, options={})
87
- path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides"
88
- get(path, options)
89
- end
90
-
77
+ def list_jurisdiction_overrides_by_account(accountId, options={}) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides"
78
+ get(path, options) end
91
79
 
92
80
  # Retrieve all overrides
93
81
  #
@@ -110,11 +98,8 @@ module AvaTax
110
98
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
111
99
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
112
100
  # @return [FetchResult]
113
- def query_jurisdiction_overrides(options={})
114
- path = "/api/v2/jurisdictionoverrides"
115
- get(path, options)
116
- end
117
-
101
+ def query_jurisdiction_overrides(options={}) path = "/api/v2/jurisdictionoverrides"
102
+ get(path, options) end
118
103
 
119
104
  # Update a single jurisdictionoverride
120
105
  #
@@ -127,11 +112,8 @@ module AvaTax
127
112
  # @param id [Integer] The ID of the jurisdictionoverride you wish to update
128
113
  # @param model [Object] The jurisdictionoverride object you wish to update.
129
114
  # @return [Object]
130
- def update_jurisdiction_override(accountId, id, model)
131
- path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
132
- put(path, model)
133
- end
134
-
115
+ def update_jurisdiction_override(accountId, id, model) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
116
+ put(path, model) end
135
117
  end
136
118
  end
137
119
  end
@@ -13,11 +13,8 @@ module AvaTax
13
13
  # @param companyId [Integer] The ID of the company that owns this location.
14
14
  # @param model [LocationModel[]] The location you wish to create.
15
15
  # @return [LocationModel[]]
16
- def create_locations(companyId, model)
17
- path = "/api/v2/companies/#{companyId}/locations"
18
- post(path, model)
19
- end
20
-
16
+ def create_locations(companyId, model) path = "/api/v2/companies/#{companyId}/locations"
17
+ post(path, model) end
21
18
 
22
19
  # Delete a single location
23
20
  #
@@ -29,11 +26,8 @@ module AvaTax
29
26
  # @param companyId [Integer] The ID of the company that owns this location.
30
27
  # @param id [Integer] The ID of the location you wish to delete.
31
28
  # @return [ErrorDetail[]]
32
- def delete_location(companyId, id)
33
- path = "/api/v2/companies/#{companyId}/locations/#{id}"
34
- delete(path)
35
- end
36
-
29
+ def delete_location(companyId, id) path = "/api/v2/companies/#{companyId}/locations/#{id}"
30
+ delete(path) end
37
31
 
38
32
  # Retrieve a single location
39
33
  #
@@ -55,11 +49,8 @@ module AvaTax
55
49
  # @param id [Integer] The primary key of this location
56
50
  # @param include [String] A comma separated list of additional data to retrieve.
57
51
  # @return [Object]
58
- def get_location(companyId, id, options={})
59
- path = "/api/v2/companies/#{companyId}/locations/#{id}"
60
- get(path, options)
61
- end
62
-
52
+ def get_location(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/locations/#{id}"
53
+ get(path, options) end
63
54
 
64
55
  # Retrieve locations for this company
65
56
  #
@@ -86,11 +77,8 @@ module AvaTax
86
77
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
87
78
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
88
79
  # @return [FetchResult]
89
- def list_locations_by_company(companyId, options={})
90
- path = "/api/v2/companies/#{companyId}/locations"
91
- get(path, options)
92
- end
93
-
80
+ def list_locations_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/locations"
81
+ get(path, options) end
94
82
 
95
83
  # Retrieve all locations
96
84
  #
@@ -117,11 +105,8 @@ module AvaTax
117
105
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
118
106
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
119
107
  # @return [FetchResult]
120
- def query_locations(options={})
121
- path = "/api/v2/locations"
122
- get(path, options)
123
- end
124
-
108
+ def query_locations(options={}) path = "/api/v2/locations"
109
+ get(path, options) end
125
110
 
126
111
  # Update a single location
127
112
  #
@@ -136,11 +121,8 @@ module AvaTax
136
121
  # @param id [Integer] The ID of the location you wish to update
137
122
  # @param model [Object] The location you wish to update.
138
123
  # @return [Object]
139
- def update_location(companyId, id, model)
140
- path = "/api/v2/companies/#{companyId}/locations/#{id}"
141
- put(path, model)
142
- end
143
-
124
+ def update_location(companyId, id, model) path = "/api/v2/companies/#{companyId}/locations/#{id}"
125
+ put(path, model) end
144
126
 
145
127
  # Validate the location against local requirements
146
128
  #
@@ -154,11 +136,8 @@ module AvaTax
154
136
  # @param companyId [Integer] The ID of the company that owns this location
155
137
  # @param id [Integer] The primary key of this location
156
138
  # @return [Object]
157
- def validate_location(companyId, id)
158
- path = "/api/v2/companies/#{companyId}/locations/#{id}/validate"
159
- get(path)
160
- end
161
-
139
+ def validate_location(companyId, id) path = "/api/v2/companies/#{companyId}/locations/#{id}/validate"
140
+ get(path) end
162
141
  end
163
142
  end
164
143
  end
@@ -33,11 +33,8 @@ module AvaTax
33
33
  # @param include [String] Specifies objects to include in this fetch call
34
34
  # @param model [Object] The adjust request you wish to execute
35
35
  # @return [Object]
36
- def adjust_multi_document_transaction(code, type, model, options={})
37
- path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/adjust"
38
- post(path, model, options)
39
- end
40
-
36
+ def adjust_multi_document_transaction(code, type, model, options={}) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/adjust"
37
+ post(path, model, options) end
41
38
 
42
39
  # Get audit information about a MultiDocument transaction
43
40
  #
@@ -71,11 +68,8 @@ module AvaTax
71
68
  # @param code [String] The transaction code for this MultiDocument transaction
72
69
  # @param type [String] The transaction type for this MultiDocument transaction (See DocumentType::* for a list of allowable values)
73
70
  # @return [Object]
74
- def audit_multi_document_transaction(code, type)
75
- path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/audit"
76
- get(path)
77
- end
78
-
71
+ def audit_multi_document_transaction(code, type) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/audit"
72
+ get(path) end
79
73
 
80
74
  # Commit a MultiDocument transaction
81
75
  #
@@ -102,11 +96,8 @@ module AvaTax
102
96
  # * This API depends on the following active services<br />*Required* (all): AvaTaxPro.
103
97
  # @param model [Object] The commit request you wish to execute
104
98
  # @return [Object]
105
- def commit_multi_document_transaction(model)
106
- path = "/api/v2/transactions/multidocument/commit"
107
- post(path, model)
108
- end
109
-
99
+ def commit_multi_document_transaction(model) path = "/api/v2/transactions/multidocument/commit"
100
+ post(path, model) end
110
101
 
111
102
  # Create a new MultiDocument transaction
112
103
  #
@@ -158,11 +149,8 @@ module AvaTax
158
149
  # @param include [String] Specifies objects to include in the response after transaction is created
159
150
  # @param model [Object] the multi document transaction model
160
151
  # @return [Object]
161
- def create_multi_document_transaction(model, options={})
162
- path = "/api/v2/transactions/multidocument"
163
- post(path, model, options)
164
- end
165
-
152
+ def create_multi_document_transaction(model, options={}) path = "/api/v2/transactions/multidocument"
153
+ post(path, model, options) end
166
154
 
167
155
  # Retrieve a MultiDocument transaction
168
156
  #
@@ -195,11 +183,8 @@ module AvaTax
195
183
  # @param type [String] (See DocumentType::* for a list of allowable values)
196
184
  # @param include [String] Specifies objects to include in the response after transaction is created
197
185
  # @return [Object]
198
- def get_multi_document_transaction_by_code_and_type(code, type, options={})
199
- path = "/api/v2/transactions/multidocument/#{code}/type/#{type}"
200
- get(path, options)
201
- end
202
-
186
+ def get_multi_document_transaction_by_code_and_type(code, type, options={}) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}"
187
+ get(path, options) end
203
188
 
204
189
  # Retrieve a MultiDocument transaction by ID
205
190
  #
@@ -240,11 +225,8 @@ module AvaTax
240
225
  # @param id [Integer] The unique ID number of the MultiDocument transaction to retrieve
241
226
  # @param include [String] Specifies objects to include in the response after transaction is created
242
227
  # @return [Object]
243
- def get_multi_document_transaction_by_id(id, options={})
244
- path = "/api/v2/transactions/multidocument/#{id}"
245
- get(path, options)
246
- end
247
-
228
+ def get_multi_document_transaction_by_id(id, options={}) path = "/api/v2/transactions/multidocument/#{id}"
229
+ get(path, options) end
248
230
 
249
231
  # Retrieve all MultiDocument transactions
250
232
  #
@@ -286,11 +268,8 @@ module AvaTax
286
268
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
287
269
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
288
270
  # @return [FetchResult]
289
- def list_multi_document_transactions(options={})
290
- path = "/api/v2/transactions/multidocument"
291
- get(path, options)
292
- end
293
-
271
+ def list_multi_document_transactions(options={}) path = "/api/v2/transactions/multidocument"
272
+ get(path, options) end
294
273
 
295
274
  # Create a refund for a MultiDocument transaction
296
275
  #
@@ -348,11 +327,8 @@ module AvaTax
348
327
  # @param include [String] Specifies objects to include in the response after transaction is created
349
328
  # @param model [Object] Information about the refund to create
350
329
  # @return [Object]
351
- def refund_multi_document_transaction(code, type, model, options={})
352
- path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/refund"
353
- post(path, model, options)
354
- end
355
-
330
+ def refund_multi_document_transaction(code, type, model, options={}) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/refund"
331
+ post(path, model, options) end
356
332
 
357
333
  # Verify a MultiDocument transaction
358
334
  #
@@ -377,11 +353,8 @@ module AvaTax
377
353
  # * This API depends on the following active services<br />*Required* (all): AvaTaxPro.
378
354
  # @param model [Object] Information from your accounting system to verify against this MultiDocument transaction as it is stored in AvaTax
379
355
  # @return [Object]
380
- def verify_multi_document_transaction(model)
381
- path = "/api/v2/transactions/multidocument/verify"
382
- post(path, model)
383
- end
384
-
356
+ def verify_multi_document_transaction(model) path = "/api/v2/transactions/multidocument/verify"
357
+ post(path, model) end
385
358
 
386
359
  # Void a MultiDocument transaction
387
360
  #
@@ -411,11 +384,8 @@ module AvaTax
411
384
  # @param type [String] The transaction type for this MultiDocument transaction (See DocumentType::* for a list of allowable values)
412
385
  # @param model [Object] The void request you wish to execute
413
386
  # @return [Object]
414
- def void_multi_document_transaction(code, type, model)
415
- path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/void"
416
- post(path, model)
417
- end
418
-
387
+ def void_multi_document_transaction(code, type, model) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/void"
388
+ post(path, model) end
419
389
  end
420
390
  end
421
391
  end
@@ -31,11 +31,8 @@ module AvaTax
31
31
  # @param companyId [Integer] The ID of the company that owns this nexus.
32
32
  # @param model [NexusModel[]] The nexus you wish to create.
33
33
  # @return [NexusModel[]]
34
- def create_nexus(companyId, model)
35
- path = "/api/v2/companies/#{companyId}/nexus"
36
- post(path, model)
37
- end
38
-
34
+ def create_nexus(companyId, model) path = "/api/v2/companies/#{companyId}/nexus"
35
+ post(path, model) end
39
36
 
40
37
  # Creates nexus for a list of addresses.
41
38
  #
@@ -61,11 +58,8 @@ module AvaTax
61
58
  # @param companyId [Integer] The ID of the company that will own this nexus.
62
59
  # @param model [DeclareNexusByAddressModel[]] The nexus you wish to create.
63
60
  # @return [NexusByAddressModel[]]
64
- def declare_nexus_by_address(companyId, model)
65
- path = "/api/v2/companies/#{companyId}/nexus/byaddress"
66
- post(path, model)
67
- end
68
-
61
+ def declare_nexus_by_address(companyId, model) path = "/api/v2/companies/#{companyId}/nexus/byaddress"
62
+ post(path, model) end
69
63
 
70
64
  # Delete a single nexus
71
65
  #
@@ -85,11 +79,8 @@ module AvaTax
85
79
  # @param id [Integer] The ID of the nexus you wish to delete.
86
80
  # @param cascadeDelete [Boolean] If true, deletes all the child nexus if they exist along with parent nexus
87
81
  # @return [ErrorDetail[]]
88
- def delete_nexus(companyId, id, options={})
89
- path = "/api/v2/companies/#{companyId}/nexus/#{id}"
90
- delete(path, options)
91
- end
92
-
82
+ def delete_nexus(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/nexus/#{id}"
83
+ delete(path, options) end
93
84
 
94
85
  # Retrieve a single nexus
95
86
  #
@@ -109,11 +100,8 @@ module AvaTax
109
100
  # @param id [Integer] The primary key of this nexus
110
101
  # @param include [String]
111
102
  # @return [Object]
112
- def get_nexus(companyId, id, options={})
113
- path = "/api/v2/companies/#{companyId}/nexus/#{id}"
114
- get(path, options)
115
- end
116
-
103
+ def get_nexus(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/nexus/#{id}"
104
+ get(path, options) end
117
105
 
118
106
  # List company nexus related to a tax form
119
107
  #
@@ -137,11 +125,8 @@ module AvaTax
137
125
  # @param formCode [String] The form code that we are looking up the nexus for
138
126
  # @param include [String]
139
127
  # @return [Object]
140
- def get_nexus_by_form_code(companyId, formCode, options={})
141
- path = "/api/v2/companies/#{companyId}/nexus/byform/#{formCode}"
142
- get(path, options)
143
- end
144
-
128
+ def get_nexus_by_form_code(companyId, formCode, options={}) path = "/api/v2/companies/#{companyId}/nexus/byform/#{formCode}"
129
+ get(path, options) end
145
130
 
146
131
  # Retrieve nexus for this company
147
132
  #
@@ -167,11 +152,8 @@ module AvaTax
167
152
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
168
153
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
169
154
  # @return [FetchResult]
170
- def list_nexus_by_company(companyId, options={})
171
- path = "/api/v2/companies/#{companyId}/nexus"
172
- get(path, options)
173
- end
174
-
155
+ def list_nexus_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/nexus"
156
+ get(path, options) end
175
157
 
176
158
  # Retrieve all nexus
177
159
  #
@@ -196,11 +178,8 @@ module AvaTax
196
178
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
197
179
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
198
180
  # @return [FetchResult]
199
- def query_nexus(options={})
200
- path = "/api/v2/nexus"
201
- get(path, options)
202
- end
203
-
181
+ def query_nexus(options={}) path = "/api/v2/nexus"
182
+ get(path, options) end
204
183
 
205
184
  # Update a single nexus
206
185
  #
@@ -231,11 +210,8 @@ module AvaTax
231
210
  # @param id [Integer] The ID of the nexus you wish to update
232
211
  # @param model [Object] The nexus object you wish to update.
233
212
  # @return [Object]
234
- def update_nexus(companyId, id, model)
235
- path = "/api/v2/companies/#{companyId}/nexus/#{id}"
236
- put(path, model)
237
- end
238
-
213
+ def update_nexus(companyId, id, model) path = "/api/v2/companies/#{companyId}/nexus/#{id}"
214
+ put(path, model) end
239
215
  end
240
216
  end
241
217
  end
@@ -25,11 +25,8 @@ module AvaTax
25
25
  # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
26
26
  # @param id [Integer] The id of the notification you wish to mark as dismissed.
27
27
  # @return [Object]
28
- def dismiss_notification(id)
29
- path = "/api/v2/notifications/#{id}/dismiss"
30
- put(path)
31
- end
32
-
28
+ def dismiss_notification(id) path = "/api/v2/notifications/#{id}/dismiss"
29
+ put(path) end
33
30
 
34
31
  # Retrieve a single notification.
35
32
  #
@@ -47,11 +44,8 @@ module AvaTax
47
44
  # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
48
45
  # @param id [Integer] The id of the notification to retrieve.
49
46
  # @return [Object]
50
- def get_notification(id)
51
- path = "/api/v2/notifications/#{id}"
52
- get(path)
53
- end
54
-
47
+ def get_notification(id) path = "/api/v2/notifications/#{id}"
48
+ get(path) end
55
49
 
56
50
  # List all notifications.
57
51
  #
@@ -75,11 +69,8 @@ module AvaTax
75
69
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
76
70
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
77
71
  # @return [FetchResult]
78
- def list_notifications(options={})
79
- path = "/api/v2/notifications"
80
- get(path, options)
81
- end
82
-
72
+ def list_notifications(options={}) path = "/api/v2/notifications"
73
+ get(path, options) end
83
74
  end
84
75
  end
85
76
  end