@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/automation/rule/index.js~
packages/ari/automation/rule/index.jsModified+4−1
Index: package/packages/ari/automation/rule/index.js
===================================================================
--- package/packages/ari/automation/rule/index.js
+++ package/packages/ari/automation/rule/index.js
@@ -284,20 +284,23 @@
var automationRuleAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: AutomationRuleAriResourceOwner,
resourceType: AutomationRuleAriResourceType,
resourceIdSlug: "{ruleId}",
resourceIdSegmentFormats: {
ruleId: /[0-9]+/
+ // eslint-disable-line no-useless-escape
}
};
// src/automation/rule/index.ts
var AutomationRuleAri = class _AutomationRuleAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._ruleId = opts.resourceIdSegmentValues.ruleId;
+ super(opts);
+ this._ruleId = opts.resourceIdSegmentValues.ruleId;
}
get ruleId() {
return this._ruleId;
}