module Github::Users::Followers

def following(user_name=nil, params={})


@github.users.following
@github = Github.new :oauth_token => '...'

= Examples

List who the authenicated user is following

@github.users.following 'user-name' { |user| ... }
@github.users.following 'user-name'
@github = Github.new
= Examples

List who a user is following
def following(user_name=nil, params={})
  _normalize_params_keys(params)
  response = if user_name
    get("/users/#{user_name}/following", params)
  else
    get("/user/following", params)
  end
  return response unless block_given?
  response.each { |el| yield el }
end