Class: Stride::BotMention::TextBlock
- Inherits:
-
ContentBlock
- Object
- ContentBlock
- Stride::BotMention::TextBlock
- Defined in:
- lib/stride/bot_mention.rb
Instance Method Summary collapse
Methods inherited from ContentBlock
factory, #initialize, #mention?, #type, wrap
Constructor Details
This class inherits a constructor from Stride::BotMention::ContentBlock
Instance Method Details
#text ⇒ Object
76 77 78 |
# File 'lib/stride/bot_mention.rb', line 76 def text json['text'] end |
#text? ⇒ Boolean
80 81 82 |
# File 'lib/stride/bot_mention.rb', line 80 def text? true end |