Class: Outhad::Integrations::Protocol::Catalog

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



160
161
162
163
164
165
# File 'lib/outhad/integrations/protocol/protocol.rb', line 160

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