Sha256: cb2d489b2f7ca1c8955bb826a86b863c8cd716f8dace770c75d7bce0036628fc

Contents?: true

Size: 482 Bytes

Versions: 9

Compression:

Stored size: 482 Bytes

Contents

require "httparty"
require "uri"

module Picasa
  class HTTP
    include HTTParty

    API_URL      = "https://picasaweb.google.com"
    API_AUTH_URL = "https://www.google.com"
    API_VERSION  = "2"

    format         :json
    default_params alt: :json

    headers        "User-Agent"      => "ruby-gem-picasa-v#{VERSION} (gzip)",
                   "GData-Version"   => API_VERSION,
                   "Accept-Encoding" => "gzip, deflate"

    base_uri       API_URL
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
picasa-0.9.1 lib/picasa/http.rb
picasa-0.9.0 lib/picasa/http.rb
picasa-0.8.0 lib/picasa/http.rb
picasa-0.7.5 lib/picasa/http.rb
picasa-0.7.4 lib/picasa/http.rb
picasa-0.7.3 lib/picasa/http.rb
picasa-0.7.2 lib/picasa/http.rb
picasa-0.7.1 lib/picasa/http.rb
picasa-0.7.0 lib/picasa/http.rb