Skip to content

Commit

Permalink
Document that there's no matching method of "pushable" in v3
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed Feb 5, 2012
1 parent 950fa7d commit 1584b35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/octokit/client/repositories.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def remove_collaborator(repo, collaborator, options={})
alias :remove_collab :remove_collaborator

def pushable(options={})
get("/api/v2/json/repos/pushable", options)['repositories']
# There isn't a matching method in V3 of the api
get("/api/v2/json/repos/pushable", options, 2)['repositories']
end

def repository_teams(repo, options={})
Expand Down

0 comments on commit 1584b35

Please sign in to comment.