class Github::Repos::Keys
def list(*args)
keys.list
keys = Github::Repos::Keys.new user: 'user-name', repo: 'repo-name'
github.repos.keys.list 'user-name', 'repo-name' { |key| ... }
github.repos.keys.list 'user-name', 'repo-name'
github = Github.new
= Examples
List deploy keys
def list(*args) arguments(args, :required => [:user, :repo]) response = get_request("/repos/#{user}/#{repo}/keys", arguments.params) return response unless block_given? response.each { |el| yield el } end