Sha256: af2946866578fa8da115deb2b3168ed793db5ed2c760f67d33af0beddb584d4f
Contents?: true
Size: 444 Bytes
Versions: 2
Compression:
Stored size: 444 Bytes
Contents
require "picasa/web_albums" require "picasa/config" require "picasa/version" module Picasa def self.albums(options = {}) web_albums = Picasa::WebAlbums.new(options[:google_user]) web_albums.albums end def self.photos(options = {}) raise ArgumentError.new("You must specify album_id") unless options[:album_id] web_albums = Picasa::WebAlbums.new(options[:google_user]) web_albums.photos(options[:album_id]) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
picasa-0.3.1 | lib/picasa.rb |
picasa-0.3 | lib/picasa.rb |