Module: Closeio::Client::User

Included in:
Closeio::Client
Defined in:
lib/closeio/resources/user.rb

Instance Method Summary collapse

Instance Method Details

#fetch_api_keyObject



13
14
15
# File 'lib/closeio/resources/user.rb', line 13

def fetch_api_key
  get("api_key/#{@api_key}/")
end

#find_user(id) ⇒ Object



5
6
7
# File 'lib/closeio/resources/user.rb', line 5

def find_user(id)
  get("user/#{id}/")
end

#meObject



9
10
11
# File 'lib/closeio/resources/user.rb', line 9

def me
  get("me/")
end