Class: Spikard::ParsedMessage

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeParsedMessage

Returns a new instance of ParsedMessage.

Parameters:

  • name: (String)
  • schema: (json_value)


346
# File 'sig/types.rbs', line 346

def initialize: (name: String, ?schema: json_value) -> void

Instance Attribute Details

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


343
344
345
# File 'sig/types.rbs', line 343

def name
  @name
end

#schemajson_value (readonly)

Returns the value of attribute schema.

Returns:

  • (json_value)


344
345
346
# File 'sig/types.rbs', line 344

def schema
  @schema
end