Sha256: 691790427806f81fb32f482ce3b7c4505a35b04c501faeb32145dc63c7d5c936
Contents?: true
Size: 439 Bytes
Versions: 9
Compression:
Stored size: 439 Bytes
Contents
# encoding: utf-8 require 'warden/declarable' module Warden module Strategies extend Warden::Declarable class << self def check_validity!(label, strategy) return if strategy.method_defined?(:authenticate!) raise NoMethodError, "authenticate! is not declared in the #{label.inspect} strategy" end alias :_strategies :_declarations end # << self end # Strategies end # Warden
Version data entries
9 entries across 9 versions & 1 rubygems