Class: Octopi::Tag
- Octopi::Base
- Octopi::Tag
Included Modules
Constants Inherited from Octopi::Base
Constructor Summary
This class inherits a constructor from Octopi::Base.
Public Visibility
Public Class Method Summary
all(opts) |
---|
Public Instance Methods Inherited from Octopi::Base
Public Class Method Details
all
public
all(opts)
[View source]
8 9 10 11 12 |
# File 'lib/octopi/tag.rb', line 8 def self.all(opts) user, repo = gather_details(opts) self.validate_args(user => :user, repo => :repo) find_plural([user, repo, 'tags'], :resource) { |i| {:name => i.first, :hash => i.last } } end |