Class: Multiwoven::Integrations::Protocol::LogMessage

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, #extract_data, #handle_exception, #keys_to_symbols, #logger, #map_type_to_json_schema, #success?

Instance Method Details

#to_multiwoven_messageObject



78
79
80
81
82
83
# File 'lib/multiwoven/integrations/protocol/protocol.rb', line 78

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