dschn-tweetsy 0.1.5 → 0.1.6
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 +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/tweetsy/client.rb
CHANGED
@@ -76,7 +76,7 @@ module Tweetsy
|
|
76
76
|
end
|
77
77
|
|
78
78
|
def follower_ids(id = nil)
|
79
|
-
endpoint = id ? "/followers/ids/#{id}.xml" : "/
|
79
|
+
endpoint = id ? "/followers/ids/#{id}.xml" : "/followers/ids.xml"
|
80
80
|
|
81
81
|
doc = request(:get, endpoint, :auth => id ? nil : true) # apparently don't need :auth
|
82
82
|
(doc/:ids/:id).inject([]) { |follower_ids, id| follower_ids << id.inner_text.to_i }
|