Class: PageRankr::Socials::Google
- Inherits:
-
Object
- Object
- PageRankr::Socials::Google
show all
- Includes:
- PageRankr::Social
- Defined in:
- lib/page_rankr/socials/google.rb
Instance Attribute Summary
Attributes included from Tracker
#body, #raw, #tracked
Instance Method Summary
collapse
Methods included from Tracker
#clean, #content, #initialize, #method, #proxy, #run, #tracked_url
Instance Method Details
#name ⇒ Object
25
26
27
|
# File 'lib/page_rankr/socials/google.rb', line 25
def name
:socials_google
end
|
#params ⇒ Object
13
14
15
|
# File 'lib/page_rankr/socials/google.rb', line 13
def params
{:url => tracked_url}
end
|
#regex ⇒ Object
17
18
19
|
# File 'lib/page_rankr/socials/google.rb', line 17
def regex
/(\d+)/
end
|
#supported_components ⇒ Object
21
22
23
|
# File 'lib/page_rankr/socials/google.rb', line 21
def supported_components
[:subdomain, :path, :scheme]
end
|
#url ⇒ Object
8
9
10
11
|
# File 'lib/page_rankr/socials/google.rb', line 8
def url
'http://share.yandex.ru/gpp.xml'
end
|