775ac7b58c
you must login with an BTP account in order to see the app
20 lines
567 B
JavaScript
20 lines
567 B
JavaScript
'use strict';
|
|
|
|
var utils = require('../utils');
|
|
var MessageBase = require('./MessageBase');
|
|
|
|
module.exports = ConfigurationChangeBase;
|
|
|
|
function ConfigurationChangeBase(content, transport) {
|
|
MessageBase.call(this, content, transport);
|
|
this._endpoint = 'configuration-changes';
|
|
|
|
this._content.attributes = [];
|
|
}
|
|
|
|
require('util').inherits(ConfigurationChangeBase, MessageBase);
|
|
|
|
ConfigurationChangeBase.prototype._validateContent = function () {
|
|
MessageBase.prototype._validateContent.call(this);
|
|
utils.validate.attributesLength(this._content.attributes);
|
|
};
|