Class: Redmine::SudoMode::Form
- Inherits:
-
Object
- Object
- Redmine::SudoMode::Form
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/redmine/sudo_mode.rb
Overview
Instance Attribute Summary collapse
-
#original_fields ⇒ Object
Returns the value of attribute original_fields.
-
#password ⇒ Object
Returns the value of attribute password.
Instance Method Summary collapse
- #check_password ⇒ Object
-
#initialize(password = nil) ⇒ Form
constructor
A new instance of Form.
Constructor Details
#initialize(password = nil) ⇒ Form
Returns a new instance of Form
17 18 19 |
# File 'lib/redmine/sudo_mode.rb', line 17 def initialize(password = nil) self.password = password end |
Instance Attribute Details
#original_fields ⇒ Object
Returns the value of attribute original_fields
14 15 16 |
# File 'lib/redmine/sudo_mode.rb', line 14 def original_fields @original_fields end |
#password ⇒ Object
Returns the value of attribute password
14 15 16 |
# File 'lib/redmine/sudo_mode.rb', line 14 def password @password end |