Class: Spikard::ParsedMessage
- Inherits:
-
Object
- Object
- Spikard::ParsedMessage
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#schema ⇒ json_value
readonly
Returns the value of attribute schema.
Instance Method Summary collapse
-
#initialize ⇒ ParsedMessage
constructor
A new instance of ParsedMessage.
Constructor Details
#initialize ⇒ ParsedMessage
Returns a new instance of ParsedMessage.
326 |
# File 'sig/types.rbs', line 326
def initialize: (name: String, ?schema: json_value) -> void
|
Instance Attribute Details
#name ⇒ String (readonly)
Returns the value of attribute name.
323 324 325 |
# File 'sig/types.rbs', line 323 def name @name end |
#schema ⇒ json_value (readonly)
Returns the value of attribute schema.
324 325 326 |
# File 'sig/types.rbs', line 324 def schema @schema end |