# File lib/oauth/client/net_http.rb, line 10 def oauth!(http, consumer = nil, token = nil, options = {}) options = { :request_uri => oauth_full_request_uri(http), :consumer => consumer, :token => token, :scheme => 'header', :signature_method => nil, :nonce => nil, :timestamp => nil }.merge(options) @oauth_helper = OAuth::Client::Helper.new(self, options) self.send("set_oauth_#{options[:scheme]}") end