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
47 48 49 |
# File 'lib/protector.rb', line 47 def paranoid? !!paranoid end |
#strong_parameters? ⇒ Boolean
51 52 53 |
# File 'lib/protector.rb', line 51 def strong_parameters? strong_parameters == nil || !!strong_parameters end |