Class: Protector::Config
- Inherits:
-
ActiveSupport::OrderedOptions
- Object
- ActiveSupport::OrderedOptions
- Protector::Config
- Defined in:
- lib/protector.rb
Instance Method Summary collapse
Instance Method Details
#paranoid? ⇒ Boolean
40 41 42 |
# File 'lib/protector.rb', line 40 def paranoid? !!paranoid end |
#strong_parameters? ⇒ Boolean
44 45 46 |
# File 'lib/protector.rb', line 44 def strong_parameters? strong_parameters == nil || !!strong_parameters end |