Class: Myflickr::Tag
- Inherits:
-
Struct
- Object
- Struct
- Myflickr::Tag
- Defined in:
- lib/myflickr/tag.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
-
.list ⇒ Object
List all tags.
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
2 3 4 |
# File 'lib/myflickr/tag.rb', line 2 def value @value end |
Class Method Details
.list ⇒ Object
List all tags
4 5 6 7 8 |
# File 'lib/myflickr/tag.rb', line 4 def self.list (Query.api_call('flickr.tags.getListUser')/:tag).parallel_map(MAX_THREADS) do |tag| Tag.new(tag.to_s) end end |