Module: YammerApi::Api::Users

Includes:
Helper
Included in:
Client
Defined in:
lib/yammer_api/api/users.rb

Instance Method Summary collapse

Methods included from Helper

#params

Instance Method Details

#user(id, options = {}) ⇒ Object

Get information about specified user

Parameters:

  • id (Integer)

    The ID of user.

See Also:



14
15
16
17
18
# File 'lib/yammer_api/api/users.rb', line 14

def user(id, options={})
  path = "/users/#{id}.json"
  response = get(path, options)
  YammerApi::User.new(response)
end