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