module OnlyofficeGithubHelper::Branches

Working with branches

Public Instance Methods

branches(repo) click to toggle source

Get list of branches in repo @param [String] repo to check @return [Array<String>] list of branches

# File lib/onlyoffice_github_helper/github_client/branches.rb, line 9
def branches(repo)
  Octokit.branches(repo).map(&:name)
end