Class: GData::Client::WebmasterTools
- 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
-
#initialize(options = {}) ⇒ WebmasterTools
constructor
A new instance of WebmasterTools.
Methods inherited from Base
#authsub_private_key=, #authsub_token=, #authsub_url, #clientlogin, #delete, #get, #make_file_request, #make_request, #oauth_info=, #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( = {}) [:clientlogin_service] ||= 'sitemaps' [:authsub_scope] ||= 'https://www.google.com/webmasters/tools/feeds/' super() end |