Exception: Kingsman::OmniAuth::StrategyNotFound
- Inherits:
-
NameError
- Object
- NameError
- Kingsman::OmniAuth::StrategyNotFound
- Defined in:
- lib/kingsman/omniauth/config.rb
Instance Method Summary collapse
-
#initialize(strategy) ⇒ StrategyNotFound
constructor
A new instance of StrategyNotFound.
Constructor Details
#initialize(strategy) ⇒ StrategyNotFound
Returns a new instance of StrategyNotFound.
6 7 8 9 10 |
# File 'lib/kingsman/omniauth/config.rb', line 6 def initialize(strategy) @strategy = strategy super("Could not find a strategy with name `#{strategy}'. " \ "Please ensure it is required or explicitly set it using the :strategy_class option.") end |