Class: PageRankr::Socials::Vk
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
24
25
26
|
# File 'lib/page_rankr/socials/vk.rb', line 24
def name
:socials_vk
end
|
#params ⇒ Object
12
13
14
|
# File 'lib/page_rankr/socials/vk.rb', line 12
def params
{:url => tracked_url, :act => 'count'}
end
|
#regex ⇒ Object
16
17
18
|
# File 'lib/page_rankr/socials/vk.rb', line 16
def regex
/, (\d+)/
end
|
#supported_components ⇒ Object
20
21
22
|
# File 'lib/page_rankr/socials/vk.rb', line 20
def supported_components
[:subdomain, :path, :scheme]
end
|
#url ⇒ Object
8
9
10
|
# File 'lib/page_rankr/socials/vk.rb', line 8
def url
'http://vk.com/share.php'
end
|