Method: Github::Client::Repos::Branches#get
- Defined in:
- lib/github_api/client/repos/branches.rb
#get(*args) ⇒ Object Also known as: find
Get branch
41 42 43 44 45 |
# File 'lib/github_api/client/repos/branches.rb', line 41 def get(*args) arguments(args, required: [:user, :repo, :branch]) get_request("/repos/#{arguments.user}/#{arguments.repo}/branches/#{arguments.branch}", arguments.params) end |