Class: OmniAuth::Strategies::Nate
- Inherits:
-
OAuth
- Object
- OAuth
- OmniAuth::Strategies::Nate
- Defined in:
- lib/omniauth/strategies/nate.rb
Instance Method Summary collapse
- #encryption ⇒ Object
-
#initialize(app, *args, &block) ⇒ Nate
constructor
A new instance of Nate.
Constructor Details
#initialize(app, *args, &block) ⇒ Nate
Returns a new instance of Nate.
35 36 37 38 39 40 |
# File 'lib/omniauth/strategies/nate.rb', line 35 def initialize app, *args, &block super unless [:encryption][:key] raise ArgumentError.new("encryption key must be given") end end |
Instance Method Details
#encryption ⇒ Object
42 43 44 |
# File 'lib/omniauth/strategies/nate.rb', line 42 def encryption [:encryption] end |