require_relative './javonet-ruby-sdk/utils/connection_type' require_relative './javonet-ruby-sdk/sdk/internal/runtime_factory' require_relative './javonet-ruby-sdk/core/transmitter/transmitter' class Javonet Transmitter.activate_with_licence_file() def self.in_memory connection_type = ConnectionType::IN_MEMORY return RuntimeFactory.new(connection_type) end def self.tcp(address) connection_type = ConnectionType::TCP return RuntimeFactory.new(connection_type, address) end def self.activate(email, licenceKey, proxyHost="", proxyUserName="", proxyPassword="") return Transmitter.activate_with_credentials_and_proxy(email, licenceKey, proxyHost, proxyUserName, proxyPassword) end end