dschn-tweetsy 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/tweetsy/client.rb +3 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/tweetsy/client.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
module Tweetsy
|
2
|
+
VERSION = "0.1.8"
|
3
|
+
|
2
4
|
class Client
|
3
5
|
API_HOST = "http://twitter.com"
|
4
6
|
attr_reader :rate_limits
|
@@ -42,7 +44,7 @@ module Tweetsy
|
|
42
44
|
end
|
43
45
|
|
44
46
|
def friendship_exists?(user_a, user_b)
|
45
|
-
doc = request(:get, "/friendships/exists.xml?user_a=#{user_a}&user_b=#{user_b}")
|
47
|
+
doc = request(:get, "/friendships/exists.xml?user_a=#{user_a}&user_b=#{user_b}", :auth => true)
|
46
48
|
(doc/:friends).inner_text == "true" ? true : false
|
47
49
|
end
|
48
50
|
|