Class: GData::Client::Contacts

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

Overview

Client class to wrap working with the Contacts 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 = {}) ⇒ Contacts

Returns a new instance of Contacts.



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

def initialize(options = {})
  options[:clientlogin_service] ||= 'cp'
  options[:authsub_scope] ||= 'https://www.google.com/m8/feeds/' 
  super(options)
end