Skip to content

Commit

Permalink
Merge pull request #224 from hectcastro/master
Browse files Browse the repository at this point in the history
Fixed example for `Octokit.branch` in Repositories.
  • Loading branch information
sferik committed Mar 1, 2013
2 parents c0d6981 + e5b7d73 commit c523db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octokit/client/repositories.rb
Expand Up @@ -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
Expand Down

0 comments on commit c523db9

Please sign in to comment.