class Github::Users::Followers
def following?(*args)
github.users.followers.following? user: 'user-name'
github.users.followers.following? 'user-name'
github = Github.new oauth_token: '...'
= Examples
Check if you are following a user
def following?(*args) arguments(args, :required => [:user]) get_request("/user/following/#{user}", arguments.params) true rescue Github::Error::NotFound false end