module Plug::Configuration

Constants

ALLOW_DELETE
AUTH_PASSWORD
AUTH_USER
VALID_OPTIONS_KEYS

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/plug/configuration.rb, line 20
def configure
  yield self
end
options() click to toggle source
# File lib/plug/configuration.rb, line 24
def options
  Hash[* VALID_OPTIONS_KEYS.map { |key| [key, send(key)] }.flatten]
end