Sha256: bed0f05e29a6beae3daea5507b626d895e9a8b654f5667e21921896c1cd3ed9a
Contents?: true
Size: 612 Bytes
Versions: 2
Compression:
Stored size: 612 Bytes
Contents
require 'net/http' require "xmlsimple" require 'picasa/web_albums' module Picasa def self.albums(options = {}) raise ArgumentError.new("You must specify google_user") unless options[:google_user] web_albums = Picasa::WebAlbums.new(options[:google_user]) web_albums.albums end def self.photos(options = {}) raise ArgumentError.new("You must specify google_user") unless options[:google_user] 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 & 2 rubygems
Version | Path |
---|---|
morgoth-picasa-0.1.4 | lib/picasa.rb |
picasa-0.1.5 | lib/picasa.rb |