module Roda::RodaPlugins::HttpAuth

Constants

DEFAULTS
VERSION

Public Class Methods

configure(app, opts={}) click to toggle source
# File lib/roda/plugins/http_auth.rb, line 15
def self.configure(app, opts={})
  plugin_opts = (app.opts[:http_auth] ||= DEFAULTS)
  app.opts[:http_auth] = plugin_opts.merge(opts)
  app.opts[:http_auth].freeze
end