Class: Protector::Config
- Inherits:
-
ActiveSupport::OrderedOptions
- Object
- ActiveSupport::OrderedOptions
- Protector::Config
- Defined in:
- lib/protector.rb
Overview
Internal protector config holder
Instance Method Summary collapse
Instance Method Details
#paranoid? ⇒ Boolean
48 49 50 |
# File 'lib/protector.rb', line 48 def paranoid? !!paranoid end |
#strong_parameters? ⇒ Boolean
52 53 54 |
# File 'lib/protector.rb', line 52 def strong_parameters? strong_parameters.nil? || !!strong_parameters end |