Module: DeviseCasAuthenticatable::SingleSignOut

Defined in:
lib/devise_cas_authenticatable/single_sign_out.rb,
lib/devise_cas_authenticatable/single_sign_out/rack.rb,
lib/devise_cas_authenticatable/single_sign_out/with_conn.rb,
lib/devise_cas_authenticatable/single_sign_out/strategies.rb,
lib/devise_cas_authenticatable/single_sign_out/strategies/base.rb,
lib/devise_cas_authenticatable/single_sign_out/strategies/rails_cache.rb,
lib/devise_cas_authenticatable/single_sign_out/strategies/redis_cache.rb

Defined Under Namespace

Modules: DestroySession, Strategies, WithConn Classes: StoreSessionId, WardenFailureApp

Class Method Summary collapse

Class Method Details

.rails3_or_greater?Boolean

Returns:

  • (Boolean)

6
7
8
# File 'lib/devise_cas_authenticatable/single_sign_out.rb', line 6

def self.rails3_or_greater?
  defined?(::Rails) && ::Rails::VERSION::MAJOR >= 3
end