Module: Taxy::Client::User

Included in:
Taxy::Client
Defined in:
lib/client/user.rb

Instance Method Summary collapse

Instance Method Details

#user(params = {}) ⇒ Object



6
7
8
9
# File 'lib/client/user.rb', line 6

def user(params = {})
  response = get('/api/v2/user', params)
  Taxy::User.new(response) if @last_response.success?
end