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



7
8
9
10
# File 'lib/oauth/client/action_controller_request.rb', line 7

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