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)


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

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

Instance Attribute Details

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


323
324
325
# File 'sig/types.rbs', line 323

def name
  @name
end

#schemajson_value (readonly)

Returns the value of attribute schema.

Returns:

  • (json_value)


324
325
326
# File 'sig/types.rbs', line 324

def schema
  @schema
end