Class Fleakr::Objects::Photo
In: lib/fleakr/objects/photo.rb
Parent: Object

Photo

Attributes

id
The ID for this photo
title
The title of this photo
description
The description of this photo
secret
This photo‘s secret (used for sharing photo without permissions checking)
comment_count
Count of the comments attached to this photo
url
This photo‘s page on Flickr
square
The tiny square representation of this photo
thumbnail
The thumbnail for this photo
small
The small representation of this photo
medium
The medium representation of this photo
large
The large representation of this photo
original
The original photo

Associations

images
The underlying images for this photo.

Methods

Included Modules

Fleakr::Support::Object

Constants

SIZES = [:square, :thumbnail, :small, :medium, :large, :original]   Available sizes for this photo

Public Class methods

Upload the photo specified by filename to the user‘s Flickr account. This call requires authentication.

Public Instance methods

When was this photo posted?

Replace the current photo‘s image with the one specified by filename. This call requires authentication.

When was this photo taken?

When was this photo last updated? This includes addition of tags and other metadata.

[Validate]