class Github::Users::Followers
def following(*args)
github.users.followers.following
github = Github.new oauth_token: '...'
= Examples
List who the authenicated user is following
github.users.followers.following 'user-name' { |user| ... }
github.users.followers.following 'user-name'
github = Github.new
= Examples
List who a user is following
def following(*args) params = arguments(args).params response = if user_name = arguments.remaining.first get_request("/users/#{user_name}/following", params) else get_request("/user/following", params) end return response unless block_given? response.each { |el| yield el } end