Module: Rack::SimpleAuth

Defined in:
lib/rack/simple_auth.rb,
lib/rack/simple_auth/logger.rb,
lib/rack/simple_auth/version.rb,
lib/rack/simple_auth/hmac/config.rb,
lib/rack/simple_auth/hmac/request.rb,
lib/rack/simple_auth/hmac/middleware.rb

Overview

Module which Contains different Authorization / Authentication Classes (HMAC, ..)

Defined Under Namespace

Modules: HMAC, Logger

Constant Summary collapse

VERSION =

Current Gem Version

'1.0.7'

Class Method Summary collapse

Class Method Details

.rootString

Method to return Gem Root Dir from everywhere in the gem

Returns:

  • (String)

    Gem Root Folder


21
22
23
# File 'lib/rack/simple_auth.rb', line 21

def root
  ::File.dirname(::File.dirname(::File.expand_path('..', __FILE__)))
end