Permalink
Browse files

Merge pull request #224 from hectcastro/master

Fixed example for `Octokit.branch` in Repositories.
  • Loading branch information...
2 parents c0d6981 + e5b7d73 commit c523db9ed07d73452cfe3544eac12a41786b2c3f @sferik sferik committed Mar 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/octokit/client/repositories.rb
@@ -430,7 +430,7 @@ def branches(repo, options={})
# @return [Branch] The branch requested, if it exists
# @see http://developer.github.com/v3/repos/#get-branch
# @example Get branch 'master` from pengwynn/octokit
- # Octokit.issue("pengwynn/octokit", "master")
+ # Octokit.branch("pengwynn/octokit", "master")
def branch(repo, branch, options={})
get "repos/#{Repository.new repo}/branches/#{branch}", options
end

0 comments on commit c523db9

Please sign in to comment.