Sha256: 7c727bb7504f4fbd50ccd76a56072ee542d189c0f87031faf8ffb43dfabdd8a9
Contents?: true
Size: 903 Bytes
Versions: 9
Compression:
Stored size: 903 Bytes
Contents
const wrapper = require('./TransmitterWrapper') class Transmitter { static sendCommand(messageArray) { return wrapper.sendCommand(messageArray) } static #activate = function(licenseKey = "", proxyHost = "", proxyUserName="", proxyUserPassword="") { return wrapper.activate(licenseKey, proxyHost, proxyUserName, proxyUserPassword) } static activateWithLicenseFile() { return this.#activate() } static activateWithCredentials(licenseKey) { return this.#activate(licenseKey) } static activateWithCredentialsAndProxy(licenseKey, proxyHost, proxyUserName, proxyUserPassword) { return this.#activate(licenseKey, proxyHost, proxyUserName, proxyUserPassword) } static setConfigSource(configSource) { return wrapper.setConfigSource(configSource) } } module.exports = Transmitter
Version data entries
9 entries across 9 versions & 1 rubygems