Class: RademadeAdmin::Model::Configuration::FormField
- Inherits:
-
Object
- Object
- RademadeAdmin::Model::Configuration::FormField
- Defined in:
- lib/rademade_admin/model/configuration/form_field.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(name, params = {}) ⇒ FormField
constructor
A new instance of FormField.
Constructor Details
#initialize(name, params = {}) ⇒ FormField
Returns a new instance of FormField.
9 10 11 12 |
# File 'lib/rademade_admin/model/configuration/form_field.rb', line 9 def initialize(name, params = {}) @name = name init_params(params) end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/rademade_admin/model/configuration/form_field.rb', line 7 def name @name end |
#params ⇒ Object
Returns the value of attribute params.
7 8 9 |
# File 'lib/rademade_admin/model/configuration/form_field.rb', line 7 def params @params end |