Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change followers api request methods.

  • Loading branch information...
commit e256cda3f0e6dc51968e443175acb205ac8d5e30 1 parent 47ae087
Piotr Murach authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/github_api/users/followers.rb
4 lib/github_api/users/followers.rb
View
@@ -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 }
Please sign in to comment.
Something went wrong with that request. Please try again.