lib/avatax/client/fundingrequests.rb in avatax-19.12.1 vs lib/avatax/client/fundingrequests.rb in avatax-20.1.0
- old
+ new
@@ -22,16 +22,13 @@
#
# * 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.
# * This API depends on the following active services<br />*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.<br />*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# @param id [Integer] The unique ID number of this funding request
# @return [Object]
- def activate_funding_request(id)
- path = "/api/v2/fundingrequests/#{id}/widget"
- get(path)
- end
+ def activate_funding_request(id) path = "/api/v2/fundingrequests/#{id}/widget"
+ get(path) end
-
# Retrieve status about a funding setup request
#
# This API is available by invitation only.
# Companies that use the Avalara Managed Returns or the SST Certified Service Provider services are
# required to setup their funding configuration before Avalara can begin filing tax returns on their
@@ -47,13 +44,10 @@
#
# * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services<br />*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.<br />*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# @param id [Integer] The unique ID number of this funding request
# @return [Object]
- def funding_request_status(id)
- path = "/api/v2/fundingrequests/#{id}"
- get(path)
- end
-
+ def funding_request_status(id) path = "/api/v2/fundingrequests/#{id}"
+ get(path) end
end
end
end
\ No newline at end of file