Class: Fields::TextArea

Inherits:
Field
  • Object
show all
Defined in:
app/models/iron/fields/text_area.rb

Instance Method Summary collapse

Instance Method Details

#content_value=(value) ⇒ Object



3
4
5
# File 'app/models/iron/fields/text_area.rb', line 3

def content_value=(value)
  self.value_text = value
end

#export_valueObject



15
16
17
# File 'app/models/iron/fields/text_area.rb', line 15

def export_value
  { type: "text_area", value: value_text }
end

#searchable_textObject



7
8
9
# File 'app/models/iron/fields/text_area.rb', line 7

def searchable_text
  value
end

#valueObject



11
12
13
# File 'app/models/iron/fields/text_area.rb', line 11

def value
  value_text
end