Class: Apps::Outlook::Schema::TextInput

Inherits:
Input
  • Object
show all
Defined in:
lib/apps/outlook/schema/text_input.rb

Overview

Instance Attribute Summary collapse

Attributes inherited from Input

#id, #required, #title, #value

Instance Method Summary collapse

Instance Attribute Details

#max_lengthObject

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

#multilineObject

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

#serializeObject



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