Class: Cul::Omniauth::FailureApp
- Inherits:
-
Devise::FailureApp
- Object
- Devise::FailureApp
- Cul::Omniauth::FailureApp
- Defined in:
- lib/cul/omniauth/failure_app.rb
Constant Summary collapse
- DEFAULT_PROVIDER =
:saml
Class Method Summary collapse
Class Method Details
.for(provider = nil) ⇒ Object
10 11 12 13 14 |
# File 'lib/cul/omniauth/failure_app.rb', line 10 def self.for(provider=nil) r = Class.new(self) r.provider = provider || self.provider r end |
.provider ⇒ Object
7 8 9 |
# File 'lib/cul/omniauth/failure_app.rb', line 7 def self.provider @provider || DEFAULT_PROVIDER end |
.provider=(provider) ⇒ Object
4 5 6 |
# File 'lib/cul/omniauth/failure_app.rb', line 4 def self.provider=(provider) @provider = provider end |