Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/oauth/client/action_controller_request.rb

Instance Method Summary collapse

Instance Method Details

#process_with_new_base_test(request, response = nil) ⇒ Object



13
14
15
16
# File 'lib/oauth/client/action_controller_request.rb', line 13

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, response = nil) ⇒ Object



18
19
20
21
# File 'lib/oauth/client/action_controller_request.rb', line 18

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