share_counter 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/share_counter/version.rb +1 -1
- data/lib/share_counter.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d45d986a6f52fd77cf7549751a9a7ae524bb001
|
4
|
+
data.tar.gz: 3c8e129c07d506f856a3f9ca5d709633e47b851a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71ba886081239ca49a6a450898d637f9933adb95ce1f19416af9adaf27b5ad3277cc7bf3f63b76212fe12ef9013dbf1c295cd32b82fb892b3ce0c61698185fd3
|
7
|
+
data.tar.gz: bbbcfc6acab0b8989ec75609a160faa8ab30f63df4106ac0ef28d5d1b2479235e23b06023612e3c1d662446847ba8fd710b71503891fa7274ec5d6f1f739275d
|
data/lib/share_counter.rb
CHANGED
@@ -44,7 +44,7 @@ module ShareCounter
|
|
44
44
|
|
45
45
|
def self.seomoz url, access_id, secret
|
46
46
|
client = Linkscape::Client.new(accessID: access_id, secret: secret)
|
47
|
-
response = client.urlMetrics(
|
47
|
+
response = client.urlMetrics(url, cols: :all)
|
48
48
|
{ mozrank: response.data['source'][:mozrank], page_authority: response.data['source'][:page_authority], domain_authority: response.data['source'][:domain_authority]}
|
49
49
|
end
|
50
50
|
|