Method: Github::Client::Repos#get

Defined in:
lib/github_api/client/repos.rb

#get(*args) ⇒ Object Also known as: find

Get a repository

Examples:

github = Github.new
github.repos.get 'user-name', 'repo-name'
github.repos.get user: 'user-name', repo: 'repo-name'
github.repos(user: 'user-name', repo: 'repo-name').get


169
170
171
172
173
# File 'lib/github_api/client/repos.rb', line 169

def get(*args)
  arguments(args, required: [:user, :repo])

  get_request("/repos/#{arguments.user}/#{arguments.repo}", arguments.params)
end