Module: OnlyofficeGithubHelper::Branches
- Included in:
- GithubClient
- Defined in:
- lib/onlyoffice_github_helper/github_client/branches.rb
Overview
Working with branches
Instance Method Summary collapse
-
#branches(repo) ⇒ Array<String>
Get list of branches in repo.
Instance Method Details
#branches(repo) ⇒ Array<String>
Get list of branches in repo
9 10 11 |
# File 'lib/onlyoffice_github_helper/github_client/branches.rb', line 9 def branches(repo) Octokit.branches(repo).map(&:name) end |