Class: Picasa::API

Inherits:
Object
  • Object
show all
Includes:
Authenticatable, Connection, Request
Defined in:
lib/picasa/api.rb

Direct Known Subclasses

Client

Constant Summary

Constants included from Request

Request::DEFAULT_HEADERS

Instance Method Summary collapse

Methods included from Request

#delete, #get, #multipart_post, #post, #put

Methods included from Authenticatable

#authenticated?, #credentials

Constructor Details

#initialize(options = {}) ⇒ API

Creates a new API



15
16
17
18
19
20
# File 'lib/picasa/api.rb', line 15

def initialize(options={})
  options = Picasa.options.merge(options)
  Config::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end