Sha256: 721c1a0b82ffed108e0c02fa2c9657bc8518bafd551eec9ed0dce84da2524630
Contents?: true
Size: 434 Bytes
Versions: 3
Compression:
Stored size: 434 Bytes
Contents
require 'net/http' require "xmlsimple" require 'picasa/web_albums' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
picasa-0.1.8 | lib/picasa.rb |
picasa-0.1.7 | lib/picasa.rb |
picasa-0.1.6 | lib/picasa.rb |