Class: BlockKit::Composition::Mrkdwn

Inherits:
Text
  • Object
show all
Defined in:
lib/block_kit/composition/mrkdwn.rb

Constant Summary

Constants inherited from Text

Text::MAX_LENGTH

Instance Method Summary collapse

Methods inherited from Text

inherited, #length, #truncate

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::Base

Instance Method Details

#as_jsonObject



10
11
12
# File 'lib/block_kit/composition/mrkdwn.rb', line 10

def as_json(*)
  super.merge(verbatim: verbatim).compact
end