Class: Apps::Outlook::Schema::TextInput
- Defined in:
- lib/apps/outlook/schema/text_input.rb
Overview
Instance Attribute Summary collapse
-
#max_length ⇒ Object
Returns the value of attribute max_length.
-
#multiline ⇒ Object
Returns the value of attribute multiline.
Attributes inherited from Input
#id, #required, #title, #value
Instance Method Summary collapse
Instance Attribute Details
#max_length ⇒ Object
Returns the value of attribute max_length.
9 10 11 |
# File 'lib/apps/outlook/schema/text_input.rb', line 9 def max_length @max_length end |
#multiline ⇒ Object
Returns the value of attribute multiline.
9 10 11 |
# File 'lib/apps/outlook/schema/text_input.rb', line 9 def multiline @multiline end |
Instance Method Details
#serialize ⇒ Object
11 12 13 14 15 16 |
# File 'lib/apps/outlook/schema/text_input.rb', line 11 def serialize super.merge( "isMultiline" => multiline, "maxLength" => max_length ) end |