Class: Flickr::Object::Photo::Exif
- Inherits:
-
Flickr::Object
- Object
- Flickr::Object
- Flickr::Object::Photo::Exif
- Defined in:
- lib/flickr/object/photo/exif.rb,
lib/flickr/object/attribute_locations/photo/exif.rb
Defined Under Namespace
Classes: Item
Instance Attribute Summary collapse
- #items ⇒ List[Item] readonly
Attributes inherited from Flickr::Object
Instance Method Summary collapse
-
#[](label) ⇒ String
Fetches the item with the given label and grabs the value.
Methods inherited from Flickr::Object
#==, attribute, #initialize, #inspect, #matches?, #update
Methods included from Attributes
Methods included from AutoloadHelper
#autoload_dir, #autoload_names
Constructor Details
This class inherits a constructor from Flickr::Object
Instance Attribute Details
Instance Method Details
#[](label) ⇒ String
Fetches the item with the given label and grabs the value.
24 25 26 27 |
# File 'lib/flickr/object/photo/exif.rb', line 24 def [](label) item = items.find { |item| item.label == label } item.clean || item.raw end |