Class: Yandex::Webmaster::Hosts::SitemapInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/yandex-webmaster/hosts/sitemap_info.rb

Constant Summary collapse

ADDED_BY =
[
  'user',
  'robot_txt'          
].freeze
FORMATS =
[
  'XML',
  'RSS',
  'TEXT'
].freeze
TYPES =
[
  'SITEMAP',
  'SITEMAPINDX'
].freeze

Constants included from Request

Request::METHODS, Request::METHODS_WITH_BODIES

Constants included from Connection

Connection::ACCEPT, Connection::ACCEPT_CHARSET, Connection::ALLOWED_OPTIONS, Connection::CONTENT_TYPE, Connection::USER_AGENT

Instance Attribute Summary collapse

Attributes inherited from Base

#configuration

Attributes included from Authorization

#scopes

Method Summary

Methods inherited from Base

#attributes=, const_missing, define_attributes, #initialize, #method_missing

Methods included from Request

#delete_request, #get_request, #post_request, #put_request, #request

Methods included from Connection

#connection

Methods included from Authorization

#auth_code, #authenticate, #authenticated?, #authorize_url, #oauth, #token

Constructor Details

This class inherits a constructor from Yandex::Webmaster::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Yandex::Webmaster::Base

Instance Attribute Details

#hostObject

Returns the value of attribute host.



34
35
36
# File 'lib/yandex-webmaster/hosts/sitemap_info.rb', line 34

def host
  @host
end