Sha256: 70e5f4050a0c8e9bdcca1274ff30c52a7d1dc5f5ad05c31b66b474854c208511

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 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/middleware'

require 'json'
require 'openssl'

# 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.7 lib/rack/simple_auth.rb