Sha256: 494f79b24fdfa489c1774d1400cb0da01b019465ddf2e679be5a58d029a063ca
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
require 'auth_strategist/version' require 'auth_strategist/configuration' require 'auth_strategist/configuration/strategies_registry' require 'auth_strategist/strategy_interface' require 'auth_strategist/authorize' require 'auth_strategist/authorization' module AuthStrategist class << self def configuration @configuration ||= Configuration.new end def configure yield(configuration) if block_given? configuration end def strategies return configuration.strategies unless block_given? yield(configuration.strategies) end end end require 'generators/auth_strategist/install_generator' if defined?(Rails)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
auth_strategist-0.5.0 | lib/auth_strategist.rb |