Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: intridea/oauth2
base: 19540a737a
...
head fork: intridea/oauth2
compare: 8dc6feab99
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Jul 06, 2012
Daniël van de Burgt add PATCH verb to available request methods with the Access Token f465719
@mbleigh mbleigh Merge pull request #113 from thatdutchguy/add_patch_verb
add PATCH verb to available request methods with the Access Token
8dc6fea
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/oauth2/access_token.rb
View
7 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

No commit comments for this range

Something went wrong with that request. Please try again.