Class: Multiwoven::Integrations::Protocol::ControlMessage

Inherits:
ProtocolModel
  • Object
show all
Defined in:
lib/multiwoven/integrations/protocol/protocol.rb

Instance Method Summary collapse

Methods inherited from ProtocolModel

from_json

Methods included from Core::Utils

#convert_to_json_schema, #create_log_message, #handle_exception, #keys_to_symbols, #logger, #map_type_to_json_schema

Instance Method Details

#to_multiwoven_messageObject



147
148
149
150
151
152
# File 'lib/multiwoven/integrations/protocol/protocol.rb', line 147

def to_multiwoven_message
  MultiwovenMessage.new(
    type: MultiwovenMessageType["control"],
    control: self
  )
end