Class: Lev::Configuration
- Inherits:
-
Object
- Object
- Lev::Configuration
- Defined in:
- lib/lev.rb
Instance Attribute Summary collapse
-
#form_error_class ⇒ Object
This HTML class is added to form fields that caused errors.
-
#security_transgression_error ⇒ Object
Returns the value of attribute security_transgression_error.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
51 52 53 54 55 |
# File 'lib/lev.rb', line 51 def initialize @form_error_class = 'error' @security_transgression_error = Lev::SecurityTransgression super end |
Instance Attribute Details
#form_error_class ⇒ Object
This HTML class is added to form fields that caused errors
48 49 50 |
# File 'lib/lev.rb', line 48 def form_error_class @form_error_class end |
#security_transgression_error ⇒ Object
Returns the value of attribute security_transgression_error.
49 50 51 |
# File 'lib/lev.rb', line 49 def security_transgression_error @security_transgression_error end |