Sha256: a53283f915e979fa7bf91aea74dd9b50fc941434cd1dba89c33898c569fd4ae4

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

require "rack"
require "workarea"
require "workarea/admin"
require "workarea/storefront"
require "workarea/basic_auth/engine"
require "workarea/basic_auth/version"

module Workarea
  module BasicAuth
    def self.enabled?
      config.enabled
    end

    def self.config
      Workarea.config.basic_auth
    end
  end
end

require "workarea/basic_auth/path"
require "workarea/basic_auth/simple_route_set"
require "workarea/basic_auth/middleware"
require "workarea/basic_auth/railtie"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-basic_auth-1.1.2 lib/workarea/basic_auth.rb
workarea-basic_auth-1.1.1 lib/workarea/basic_auth.rb