Class: Avatax::Api::Addresses

Inherits:
Base
  • Object
show all
Defined in:
lib/avatax/api/addresses.rb

Instance Attribute Summary

Attributes inherited from Base

#connection

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Avatax::Api::Base

Instance Method Details

#validate(args = {}) ⇒ Object

Validate an address



8
9
10
11
# File 'lib/avatax/api/addresses.rb', line 8

def validate(args = {})
  resp = connection.post '/api/v2/addresses/resolve', args
  handle_response(resp)
end