class Github::Client::Authorizations
def create(*args)
- Api: - public
Options Hash:
(**params)
-
:fingerprint
(String
) -- -
:client_secret
(String
) -- -
:client_id
(String
) -- -
:note_url
(String
) -- -
:note
(String
) -- -
:scopes
(Array[String]
) --
Parameters:
-
params
(Hash
) --
Other tags:
- See: https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization -
def create(*args) raise_authentication_error unless authenticated? arguments(args) do assert_required :note, :scopes end post_request('/authorizations', arguments.params) end