Class: BlockKit::Elements::PlainTextInput
- Defined in:
- lib/block_kit/elements/plain_text_input.rb
Constant Summary
Constants included from Concerns::HasPlaceholder
Concerns::HasPlaceholder::MAX_TEXT_LENGTH
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Base
#==, fix, #fix_validation_errors, #fix_validation_errors!, fixes, inherited, #initialize, inspect, #inspect, #pretty_print, #to_json
Constructor Details
This class inherits a constructor from BlockKit::Elements::Base
Instance Method Details
#as_json ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/block_kit/elements/plain_text_input.rb', line 34 def as_json(*) super.merge( initial_value: initial_value, min_length: min_length, max_length: max_length, multiline: multiline ).compact end |