Class: SimpleAdminAuth::Application

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/simple_admin_auth/application.rb

Class Method Summary collapse

Class Method Details

.get_or_post(path, opts = {}, &block) ⇒ Object



10
11
12
13
# File 'lib/simple_admin_auth/application.rb', line 10

def self.get_or_post(path, opts={}, &block)
  get(path, opts, &block)
  post(path, opts, &block)
end