class Fluxiom::Tags

Public Class Methods

new() click to toggle source
# File lib/fluxapi/tags.rb, line 3
def initialize
  @tags = []
  self.class.call('/api/tags.xml')['tags'].each do |v|
    @tags << Fluxiom::Tag.new(v)
  end
end

Public Instance Methods

each() { |pt| ... } click to toggle source
# File lib/fluxapi/tags.rb, line 9
def each
  @tags.each {|pt| yield pt} 
end
first() click to toggle source
# File lib/fluxapi/tags.rb, line 12
def first
  @tags.first
end