Class: Sinatra::AuthenticationSettings

Inherits:
Object
  • Object
show all
Defined in:
lib/sinatra/basic_auth.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, &blk) ⇒ AuthenticationSettings



7
8
9
10
# File 'lib/sinatra/basic_auth.rb', line 7

def initialize app, &blk
  @app = app
  instance_eval &blk
end