Class: RubyPicasa::Photo

Inherits:
Base
  • Object
show all
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
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=, #thumbnail, #url