Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/oauth/request_proxy/action_dispatch_request.rb,
lib/oauth/request_proxy/action_controller_request.rb

Instance Method Summary collapse

Instance Method Details

#process_with_new_base_test(request, response = nil) ⇒ Object



66
67
68
69
# File 'lib/oauth/request_proxy/action_dispatch_request.rb', line 66

def process_with_new_base_test(request, response=nil)
  request.apply_oauth! if request.respond_to?(:apply_oauth!)
  super(request, response)
end

#process_with_oauth(request, *arguments) ⇒ Object



70
71
72
73
# File 'lib/oauth/request_proxy/action_controller_request.rb', line 70

def process_with_oauth(request, *arguments)
  request.apply_oauth! if request.respond_to?(:apply_oauth!)
  process_without_oauth(request, *arguments)
end