# File lib/oauth/client/em_http.rb, line 26 def oauth!(http, consumer = nil, token = nil, options = {}) options = { :request_uri => normalized_oauth_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]}""set_oauth_#{options[:scheme]}") end