Sha256: 48131797ffcb6190292754f8398a4de55c519908ad2dead2f32bbd55259e5668
Contents?: true
Size: 158 Bytes
Versions: 14
Compression:
Stored size: 158 Bytes
Contents
require 'sinatra' use Rack::Auth::Basic do |username, password| [username, password] == %w(username password) end get '/auth' do 'authenticated!' end
Version data entries
14 entries across 14 versions & 1 rubygems