Class OAuth::RequestProxy::RackRequest
In: lib/oauth/request_proxy/rack_request.rb
Parent: OAuth::RequestProxy::Base

Methods

Public Instance methods

[Source]

# File lib/oauth/request_proxy/rack_request.rb, line 9
    def method
      request.env["rack.methodoverride.original_method"] || request.request_method
    end

[Source]

# File lib/oauth/request_proxy/rack_request.rb, line 17
    def parameters
      if options[:clobber_request]
        options[:parameters] || {}
      else
        params = request_params.merge(query_params).merge(header_params)
        params.merge(options[:parameters] || {})
      end
    end

[Source]

# File lib/oauth/request_proxy/rack_request.rb, line 26
    def signature
      parameters['oauth_signature']
    end

[Source]

# File lib/oauth/request_proxy/rack_request.rb, line 13
    def uri
      request.url
    end

Protected Instance methods

[Source]

# File lib/oauth/request_proxy/rack_request.rb, line 32
    def query_params
      request.GET
    end

[Source]

# File lib/oauth/request_proxy/rack_request.rb, line 36
    def request_params
      request.params
    end

[Validate]