class Github::Users::Emails
def list(*args)
github.users.emails.list { |email| ... }
github.users.emails.list
github = Github.new :oauth_token => '...'
= Examples
List email addresses for the authenticated user
def list(*args) arguments(args) response = get_request("/user/emails", arguments.params) return response unless block_given? response.each { |el| yield el } end