Sha256: 49e41c8e4f1d5c41aecee0206ee66a6a7b0cf1ba7777d05defc539df791102b8

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 Bytes

Contents

require "picasa/web_albums"
require "picasa/config"
require "picasa/version"

module Picasa
  def self.albums(options = {})
    web_albums = Picasa::WebAlbums.new(options.delete(:google_user))
    web_albums.albums(options)
  end

  def self.photos(options = {})
    raise ArgumentError.new("You must specify album_id") unless options[:album_id]
    web_albums = Picasa::WebAlbums.new(options.delete(:google_user))
    web_albums.photos(options.delete(:album_id), options)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picasa-0.3.3 lib/picasa.rb
picasa-0.3.2 lib/picasa.rb