Module: ClientsMethods

Included in:
WrataApi::WrataApi
Defined in:
lib/wrata_api/clients_methods.rb

Overview

Module to work with clients api

Instance Method Summary collapse

Instance Method Details

#profileArray<Hash>

Get current user info

Returns:

  • (Array<Hash>)

    current user info



7
8
9
10
# File 'lib/wrata_api/clients_methods.rb', line 7

def profile
  uri = URI.parse("#{@uri}/profile.json")
  perform_get(uri)
end