Permalink
Browse files

Change followers api request methods.

  • Loading branch information...
1 parent 47ae087 commit e256cda3f0e6dc51968e443175acb205ac8d5e30 @piotrmurach committed Apr 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/github_api/users/followers.rb
View
4 lib/github_api/users/followers.rb
@@ -20,9 +20,9 @@ class Users::Followers < API
def list(user_name=nil, params={})
_normalize_params_keys(params)
response = if user_name
- get("/users/#{user_name}/followers", params)
+ get_request("/users/#{user_name}/followers", params)
else
- get("/user/followers", params)
+ get_request("/user/followers", params)
end
return response unless block_given?
response.each { |el| yield el }

0 comments on commit e256cda

Please sign in to comment.