Module: OnlyofficeGithubHelper::Tags

Included in:
GithubClient
Defined in:
lib/onlyoffice_github_helper/github_client/tags.rb

Overview

Working with tags

Instance Method Summary collapse

Instance Method Details

#tags(repo) ⇒ Array<String>

Get list of tags in repo

Parameters:

  • repo (String)

    to check

Returns:

  • (Array<String>)

    list of tags



9
10
11
# File 'lib/onlyoffice_github_helper/github_client/tags.rb', line 9

def tags(repo)
  Octokit.tags(repo).map(&:name)
end