Method: GithubCLI::Commands::Authorizations#create
- Defined in:
- lib/github_cli/commands/authorizations.rb
#create ⇒ Object
46 47 48 49 50 51 52 53 54 55 |
# File 'lib/github_cli/commands/authorizations.rb', line 46 def create = .dup params = [:params].dup params['scopes'] = [:scopes] if [:scopes] params['note'] = [:note] if [:note] params['note_url'] = [:note_url] if [:note_url] Util.hash_without!(, params.keys + ['params']) Authorization.create params, end |