lperichon-contacts 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/contacts/yahoo.rb +6 -2
- metadata +3 -3
data/lib/contacts/yahoo.rb
CHANGED
@@ -27,8 +27,12 @@ module Contacts
|
|
27
27
|
guid = @access_token.params['xoauth_yahoo_guid']
|
28
28
|
uri = URI.parse("http://social.yahooapis.com/v1/user/#{guid}/contacts")
|
29
29
|
uri.query = params_to_query(yahoo_params)
|
30
|
-
|
31
|
-
|
30
|
+
begin
|
31
|
+
response = @access_token.get(uri.to_s)
|
32
|
+
parse_contacts(response.body)
|
33
|
+
rescue
|
34
|
+
return nil
|
35
|
+
end
|
32
36
|
end
|
33
37
|
|
34
38
|
def serializable_data
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lperichon-contacts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 8
|
10
|
+
version: 1.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors: []
|
13
13
|
|