Class GData::Client::Base
In: lib/gdata/client/base.rb
Parent: Object

A client object used to interact with different Google Data APIs.

Methods

Attributes

auth_handler  [RW]  A subclass of GData::Auth that handles authentication signing.
authsub_scope  [RW]  The broadest AuthSub scope for working with an API. This is overriden by the service-specific subclasses.
clientlogin_service  [RW]  A default service name for ClientLogin (overriden by subclasses).
clientlogin_url  [RW]  The default URL for ClientLogin.
headers  [RW]  Headers to include in every request.
http_service  [RW]  A subclass of GData::HTTP that handles making HTTP requests.
source  [RW]  A short string identifying the current application.
version  [RW]  The API version being used.

Public Class methods

Public Instance methods

Sets a private key to use with AuthSub requests.

Sets an AuthSub token for the service.

Performs an HTTP DELETE against the API.

Performs an HTTP GET against the API.

Sends an HTTP request with the given file as a stream

Sends an HTTP request and return the response.

Performs an HTTP POST against the API.

Performs an HTTP POST with the given file

Constructs some necessary headers for every request.

Performs an HTTP PUT against the API.

Performs an HTTP PUT with the given file

[Validate]