Class: GData::Client::Analytics

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

Overview

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

Returns a new instance of Analytics.



22
23
24
25
26
# File 'lib/gdata/client/analytics.rb', line 22

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