Module: ActiveSecurity::Finders::Configuration

Defined in:
lib/active_security/finders.rb

Overview

This module adds the ‘:default_finders` configuration option to ActiveSecurity::Configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#default_findersObject

Gets the default_finders value.

When setting this value, the argument should be a symbol, either :restricted or :privileged. Default is :restricted.

Returns:

  • Symbol The default_finders value



115
116
117
# File 'lib/active_security/finders.rb', line 115

def default_finders
  @default_finders
end