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}", params)
  else
    get("/user", params)
  end
end

def initialize(options = {})

Creates new Repos API
def initialize(options = {})
  super(options)
end

def update_user(params={})


"bio" => "There once..."
"hireable" => true,
"location" => "San Francisco",
"company" => "GitHub",
"blog" => "https://github.com/blog",
"email" => "octocat@github.com",
"name" => "monalisa octocat",
@github.users.update_user
@github = Github.new :oauth_token => '..'
= Examples

* :bio - Optional string
* :hireable - Optional boolean
* :location - Optional string
* :company - Optional string
* :blog - Optional string
* :email - Optional string - publically visible email address
* :name - Optional string
= Inputs

Update the authenticated user
def update_user(params={})
  _normalize_params_keys(params)
  _filter_params_keys(VALID_USER_PARAMS_NAMES, params)
  patch("/user", params)
end