Class: Outhad::Integrations::Protocol::RecordMessage

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

Instance Method Summary collapse

Methods inherited from ProtocolModel

from_json

Methods included from Core::Utils

#build_catalog, #build_stream, #convert_to_json_schema, #create_log_message, #extract_data, #handle_exception, #hash_to_string, #keys_to_symbols, #log_request_response, #logger, #map_type_to_json_schema, #report_exception, #success?

Instance Method Details

#to_outhad_messageObject



105
106
107
108
109
110
# File 'lib/outhad/integrations/protocol/protocol.rb', line 105

def to_outhad_message
  OuthadMessage.new(
    type: OuthadMessageType["record"],
    record: self
  )
end