Class: Pingr::SearchEngines::Google
- Defined in:
- lib/pingr/search_engines/google.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#ping_url ⇒ Object
private
Private: The path to ping to submit sitemaps for this search_engine.
- #search_engine ⇒ Object private
Methods inherited from Base
Constructor Details
This class inherits a constructor from Pingr::SearchEngines::Base
Instance Method Details
#ping_url ⇒ Object (private)
Private: The path to ping to submit sitemaps for this search_engine
16 17 18 |
# File 'lib/pingr/search_engines/google.rb', line 16 def ping_url URI("https://www.google.com/webmasters/tools/ping?sitemap=#{URI.escape(sitemap_url)}") end |
#search_engine ⇒ Object (private)
9 10 11 |
# File 'lib/pingr/search_engines/google.rb', line 9 def search_engine :google end |