Method: Github::Client::Authorizations#list
- Defined in:
- lib/github_api/client/authorizations.rb
#list(*args) ⇒ Object Also known as: all
List authorizations
24 25 26 27 28 29 30 31 |
# File 'lib/github_api/client/authorizations.rb', line 24 def list(*args) raise_authentication_error unless authenticated? arguments(args) response = get_request('/authorizations', arguments.params) return response unless block_given? response.each { |el| yield el } end |