Class: Multiwoven::Integrations::Protocol::RecordMessage

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



97
98
99
100
101
102
# File 'lib/multiwoven/integrations/protocol/protocol.rb', line 97

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