Module: AvaTax::Client::DomainControlVerification
- Defined in:
- lib/avatax/client/domaincontrolverification.rb
Instance Method Summary collapse
-
#create_dcv(model) ⇒ Object
Create Domain control verification.
-
#filter_dcv(options = {}) ⇒ DcvViewModel[]
Get domain control verifications by logged in user/domain name.
-
#get_dcv_by_id(domainControlVerificationId) ⇒ Object
Get domain control verification by domainControlVerificationId.
Instance Method Details
#create_dcv(model) ⇒ Object
Create Domain control verification
Swagger Name: AvaTaxClient
12 13 |
# File 'lib/avatax/client/domaincontrolverification.rb', line 12 def create_dcv(model) path = "/api/v2/domain-control-verifications" post(path, model, {}, AvaTax::VERSION) end |
#filter_dcv(options = {}) ⇒ DcvViewModel[]
Get domain control verifications by logged in user/domain name.
Swagger Name: AvaTaxClient
21 22 |
# File 'lib/avatax/client/domaincontrolverification.rb', line 21 def filter_dcv(={}) path = "/api/v2/domain-control-verifications" get(path, , AvaTax::VERSION) end |
#get_dcv_by_id(domainControlVerificationId) ⇒ Object
Get domain control verification by domainControlVerificationId
Swagger Name: AvaTaxClient
30 31 |
# File 'lib/avatax/client/domaincontrolverification.rb', line 30 def get_dcv_by_id(domainControlVerificationId) path = "/api/v2/domain-control-verifications/#{domainControlVerificationId}" get(path, {}, AvaTax::VERSION) end |