Class: Fields::TextField
- Inherits:
-
Field
- Object
- Field
- Fields::TextField
- Defined in:
- app/models/iron/fields/text_field.rb
Instance Method Summary collapse
Instance Method Details
#content_value=(value) ⇒ Object
5 6 7 |
# File 'app/models/iron/fields/text_field.rb', line 5 def content_value=(value) self.value_string = value end |
#export_value ⇒ Object
17 18 19 |
# File 'app/models/iron/fields/text_field.rb', line 17 def export_value { type: "text_field", value: value_string } end |
#searchable_text ⇒ Object
9 10 11 |
# File 'app/models/iron/fields/text_field.rb', line 9 def searchable_text value end |
#value ⇒ Object
13 14 15 |
# File 'app/models/iron/fields/text_field.rb', line 13 def value value_string end |