Method: Devise::OmniAuth::StrategyNotFound#initialize
- Defined in:
- lib/devise/omniauth/config.rb
#initialize(strategy) ⇒ StrategyNotFound
Returns a new instance of StrategyNotFound.
4 5 6 7 8 |
# File 'lib/devise/omniauth/config.rb', line 4 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 |