class Github::Users
def get_user(user_name=nil, params={})
@github.users.get_user
@github = Github.new :oauth_token => '...'
= Examples
Get the authenticated user
@github.users.get_user 'user-name'
@github = Github.new
= Examples
Get a single unauthenticated user
def get_user(user_name=nil, params={}) _normalize_params_keys(params) if user_name get("/users/#{user_name}", params) else get("/user", params) end end