Module: RGData::API

Included in:
Profiles
Defined in:
lib/rgdata/apis/profiles.rb,
lib/rgdata/api.rb

Overview

code.google.com/googleapps/domain/profiles/developers_guide_protocol.html Authentication notes:

Google requires that the user granting permission be an administrator for their domain.
When prompted for which account they are going to use, they should choose the one under the Google Apps section (not the default one).

Defined Under Namespace

Modules: ClassMethods Classes: Profiles

Class Method Summary collapse

Class Method Details

.included(target) ⇒ Object



3
4
5
6
7
8
9
10
# File 'lib/rgdata/api.rb', line 3

def self.included(target)
  target.extend ClassMethods
  target.instance_eval do
    include HTTParty
    headers 'GData-Version' => '3.0'
    format :xml
  end
end