Created
July 1, 2010 14:19
-
-
Save gabriel-garcia-zz/460019 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OAuth::RequestProxy::Net | |
module HTTP | |
class HTTPRequest < OAuth::RequestProxy::Base | |
def query_string | |
params = [ query_params, auth_header_params ] | |
params << post_params if | |
['POST', 'PUT'].include?(method.to_s.upcase) && form_url_encoded? | |
params.compact.join('&') | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment