Class: Octopi::Tag

Included Modules

Octopi::Resource

Constants Inherited from Octopi::Base

VALID

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

error=, property, save

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
Generated on Friday, July 31 2009 at 05:01:56 PM by YARD 0.2.3.2 (ruby-1.8.6).