Class: Rubirai::JsonMessage
- Defined in:
- lib/rubirai/messages/message.rb
Overview
The json message type
Instance Attribute Summary collapse
-
#json ⇒ String
readonly
The json content.
Attributes inherited from Message
Class Method Summary collapse
Methods inherited from Message
all_types, check_type, #to_h, to_message
Instance Attribute Details
#json ⇒ String (readonly)
Returns the json content.
392 |
# File 'lib/rubirai/messages/message.rb', line 392 :Json, :json |
Class Method Details
.from(**kwargs) ⇒ Rubirai::JsonMessage
Form a Rubirai::JsonMessage.
392 |
# File 'lib/rubirai/messages/message.rb', line 392 :Json, :json |