Class: Etl::Integrations::Protocol::ControlMessage

Inherits:
ProtocolModel
  • Object
show all
Defined in:
lib/etl/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, #keys_to_symbols, #logger, #map_type_to_json_schema, #success?

Instance Method Details

#to_multiwoven_messageObject



184
185
186
187
188
189
# File 'lib/etl/integrations/protocol/protocol.rb', line 184

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