# File lib/oauth/request_proxy/typhoeus_request.rb, line 21
21: def method
22: request.method.to_s.upcase
23: end
# File lib/oauth/request_proxy/typhoeus_request.rb, line 44
44: def post_parameters
45: # Post params are only used if posting form data
46: if(method == 'POST' && request.headers['Content-Type'] && request.headers['Content-Type'].downcase == 'application/x-www-form-urlencoded')
47: request.body || {}
48: else
49: {}
50: end
51: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.