Class: GData::Client::WebmasterTools

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

Overview

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

Returns a new instance of WebmasterTools.



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

def initialize(options = {})
  options[:clientlogin_service] ||= 'sitemaps'
  options[:authsub_scope] ||= 'http://www.google.com/webmasters/tools/feeds/'
  super(options)
end