class Github::Authorizations
def list(*args)
github.oauth.list { |auth| ... }
github.oauth.list
github = Github.new :basic_auth => 'login:password'
= Examples
List authorizations
def list(*args) _check_if_authenticated arguments(args) response = get_request("/authorizations", arguments.params) return response unless block_given? response.each { |el| yield el } end