Skip to content

Commit

Permalink
Merge pull request #1011 from garethrees/patch-1
Browse files Browse the repository at this point in the history
Fix example call to Octokit.label
  • Loading branch information
tarebyte authored May 4, 2018
2 parents 73b2cc7 + e399a44 commit 925bd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octokit/client/labels.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def labels(repo, options = {})
# @return [Sawyer::Resource] A single label from the repository
# @see https://developer.github.com/v3/issues/labels/#get-a-single-label
# @example Get the "V3 Addition" label from octokit/octokit.rb
# Octokit.labels("octokit/octokit.rb", "V3 Addition")
# Octokit.label("octokit/octokit.rb", "V3 Addition")
def label(repo, name, options = {})
get "#{Repository.path repo}/labels/#{name}", options
end
Expand Down

0 comments on commit 925bd7d

Please sign in to comment.