Permalink
Browse files

Change Users#remove_key to return boolean

  • Loading branch information...
1 parent aaeedd0 commit 99dfa501be0a681f47176a0599de6f125a8e6199 @joeyw joeyw committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/octokit/client/users.rb
@@ -88,7 +88,7 @@ def add_key(title, key, options={})
end
def remove_key(id, options={})
- delete("user/keys/#{id}", options, 3, true, raw=true)
+ delete("user/keys/#{id}", options, 3, true, raw=true).status == 204
end
def emails(options={})

0 comments on commit 99dfa50

Please sign in to comment.