Module: Rack::SimpleAuth

Defined in:
lib/rack/simple_auth.rb,
lib/rack/simple_auth/hmac.rb,
lib/rack/simple_auth/version.rb

Overview

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

Defined Under Namespace

Classes: HMAC

Constant Summary collapse

VERSION =

Current Gem Version

'0.1.0'

Class Method Summary collapse

Class Method Details

.rootString

Method to return Gem Root Dir

Returns:

  • (String)

    Gem Root Folder



13
14
15
# File 'lib/rack/simple_auth.rb', line 13

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