l.d.b.BrightboxConnection(ConnectionUserAndKey) : class documentation

Part of libcloud.drivers.brightbox View Source View In Hierarchy

Connection class for the Brightbox driver
Method add_default_headers Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`
Method encode_data Encode body data.
Method _fetch_oauth_token Undocumented

Inherited from ConnectionUserAndKey:

Method __init__ Initialize `user_id` and `key`; set `secure` to an int based on passed value.

Inherited from ConnectionKey (via ConnectionUserAndKey):

Method connect Establish a connection with the API server.
Method user_agent_append Append a token to a user agent string.
Method request Request a given `action`.
Method add_default_params Adds default parameters (such as API key, version, etc.) to the passed `params`
Method _user_agent Undocumented
def _fetch_oauth_token(self): (source)
Undocumented
def add_default_headers(self, headers): (source)
Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`

Should return a dictionary.

def encode_data(self, data): (source)
Encode body data.

Override in a provider's subclass.

API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:44:49.