Sha256: 469027e2a41f3a91a72cfd851fbecddc00709a29c4c67b7b35dafb4d7cef2047
Contents?: true
Size: 796 Bytes
Versions: 8
Compression:
Stored size: 796 Bytes
Contents
const wrapper = require('./TransmitterWrapper') class Transmitter { static sendCommand(messageArray) { return wrapper.sendCommand(messageArray) } static #activate = function(licenceKey = "", proxyHost = "", proxyUserName="", proxyUserPassword="") { return wrapper.activate(licenceKey, proxyHost, proxyUserName, proxyUserPassword) } static activateWithLicenceFile() { return this.#activate() } static activateWithCredentials(licenceKey) { return this.#activate(licenceKey) } static activateWithCredentialsAndProxy(licenceKey, proxyHost, proxyUserName, proxyUserPassword) { return this.#activate(licenceKey, proxyHost, proxyUserName, proxyUserPassword) } } module.exports = Transmitter
Version data entries
8 entries across 8 versions & 1 rubygems