Method: Github::Client::Repos::Keys#create
- Defined in:
- lib/github_api/client/repos/keys.rb
#create(*args) ⇒ Object Also known as: add
Create a key
76 77 78 79 80 81 |
# File 'lib/github_api/client/repos/keys.rb', line 76 def create(*args) arguments(args, required: [:user, :repo]) post_request("/repos/#{arguments.user}/#{arguments.repo}/keys", arguments.params) end |