Class: GData::Client::Photos

Inherits:
Base
  • Object
show all
Defined in:
lib/gdata/client/photos.rb

Overview

Client class to wrap working with the Picasa Web Albums API.

Instance Attribute Summary

Attributes inherited from Base

#auth_handler, #authsub_scope, #clientlogin_service, #clientlogin_url, #headers, #http_service, #source, #version

Instance Method Summary collapse

Methods inherited from Base

#authsub_private_key=, #authsub_token=, #authsub_url, #clientlogin, #delete, #get, #make_file_request, #make_request, #post, #post_file, #prepare_headers, #put, #put_file

Constructor Details

#initialize(options = {}) ⇒ Photos

Returns a new instance of Photos.



21
22
23
24
25
26
# File 'lib/gdata/client/photos.rb', line 21

def initialize(options = {})
  options[:clientlogin_service] ||= 'lh2'
  options[:authsub_scope] ||= 'https://picasaweb.google.com/data/'
  options[:version] ||= '1'
  super(options)
end