class Flickr::Object::Photo::Exif

Public Instance Methods

[](label) click to toggle source

Fetches the item with the given label and grabs the value.

@param label [String] Label of the exif data @return [String]

# File lib/flickr/object/photo/exif.rb, line 24
def [](label)
  item = items.find { |item| item.label == label }
  item.clean || item.raw
end