Sha256: 014649c1771232d62221fa3a8c4f05ff13e604d7ddf19a3dd6572e5660580bca

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 Bytes

Contents

require 'rack/simple_auth/version'
require 'rack/simple_auth/logger'

# HMAC utilities
require 'rack/simple_auth/hmac/config'
require 'rack/simple_auth/hmac/request'
require 'rack/simple_auth/hmac/response'
require 'rack/simple_auth/hmac/middleware'

require 'json'

# Rack Module
module Rack
  # Module which Contains different Authorization / Authentication Classes (HMAC, ..)
  module SimpleAuth
    class << self
      ##
      # Method to return Gem Root Dir from everywhere in the gem
      #
      # @return [String] Gem Root Folder
      def root
        ::File.dirname(::File.dirname(::File.expand_path('..', __FILE__)))
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-simple_auth-1.0.5 lib/rack/simple_auth.rb