Module: MultiAuth::ActionController::ClassMethods

Defined in:
lib/multi_auth/action_controller.rb

Instance Method Summary collapse

Instance Method Details

#verify_method_post(options = {}) ⇒ Object



6
7
8
9
10
11
# File 'lib/multi_auth/action_controller.rb', line 6

def verify_method_post(options = {})
  verify({
           :method => :post,
           :render => {:text => "Method Not Allowed", :status => 405},
         }.merge(options))
end