Object
A Flickr photo tag.
Don't instantiate this class yourself.
# File lib/net/flickr/tag.rb, line 38 def initialize(flickr, tag_xml) @flickr = flickr @id = tag_xml['id'] @author = tag_xml['author'] @raw = tag_xml['raw'] @name = tag_xml.inner_text @machine_tag = tax_xml['machine_tag'] == '1' end
true if this tag is a machine tag, false otherwise.
# File lib/net/flickr/tag.rb, line 49 def machine? return @machine_tag end
[Validate]
Generated with the Darkfish Rdoc Generator 2.