Class: RubyPicasa::Photo
- Defined in:
- lib/ruby_picasa/types.rb
Overview
Includes attributes and associations defined on Base, plus:
attributes :published,
:summary,
:version, # can use to determine if need to update...
:position,
:albumid, # useful from the recently updated feed for instance.
:width,
:height,
:description,
:keywords,
:credit
attribute :unique_id, 'exif:imageUniqueID'
attribute :exif_distance, 'exif:distance'
attribute :exif_exposure, 'exif:exposure'
attribute :exif_flash, 'exif:flash'
attribute :exif_focallength, 'exif:focallength'
attribute :exif_fstop, 'exif:fstop'
attribute :exif_iso, 'exif:iso'
attribute :exif_make, 'exif:make'
attribute :exif_model, 'exif:model'
attribute :exif_time, 'exif:time'
has_one :author, Objectify::Atom::Author, 'author'
Constant Summary collapse
- CROPPED =
%w[ 32c 48c 64c 72c 144c 160c ]
- UNCROPPED =
%w[ 32u 48u 64u 72u 144u 160u 32 48 64 72 144 160 ]
- MEDIUM =
%w[ 200 288 320 400 512 576 640 720 800 ]
- LARGE =
%w[ 912 1024 1152 1280 1440 1600 ]
- VALID =
CROPPED + UNCROPPED + MEDIUM + LARGE
Method Summary
Methods inherited from Base
#feed, #link, #next, #previous, #session, #session=, #tb, #thumbnail, #url