Permalink
Browse files

Merge pull request #113 from thatdutchguy/add_patch_verb

add PATCH verb to available request methods with the Access Token
  • Loading branch information...
2 parents 19540a7 + f465719 commit 8dc6feab9927c3fc03b8e0975909a96049a1cbd3 @mbleigh mbleigh committed Jul 6, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/oauth2/access_token.rb
@@ -119,6 +119,13 @@ def put(path, opts={}, &block)
request(:put, path, opts, &block)
end
+ # Make a PATCH request with the Access Token
+ #
+ # @see AccessToken#request
+ def patch(path, opts={}, &block)
+ request(:patch, path, opts, &block)
+ end
+
# Make a DELETE request with the Access Token
#
# @see AccessToken#request

0 comments on commit 8dc6fea

Please sign in to comment.