Method: Github::Client::Repos#tags
- Defined in:
- lib/github_api2/client/repos.rb
#tags(*args) ⇒ Object Also known as: , ,
List tags
440 441 442 443 444 445 446 |
# File 'lib/github_api2/client/repos.rb', line 440 def (*args) arguments(args, required: [:user, :repo]) response = get_request("/repos/#{arguments.user}/#{arguments.repo}/tags", arguments.params) return response unless block_given? response.each { |el| yield el } end |