UNPKG

twilio

Version:
47 lines (38 loc) 1.13 kB
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var _ = require('lodash'); /* jshint ignore:line */ var ServiceList = require('./acc_security/service').ServiceList; var Version = require('../../base/Version'); /* jshint ignore:line */ /* jshint ignore:start */ /** * Initialize the AccSecurity version of Preview * * @constructor Twilio.Preview.AccSecurity * * @property {Twilio.Preview.AccSecurity.ServiceList} services - services resource * * @param {Twilio.Preview} domain - The twilio domain */ /* jshint ignore:end */ function AccSecurity(domain) { Version.prototype.constructor.call(this, domain, 'Verification'); // Resources this._services = undefined; } _.extend(AccSecurity.prototype, Version.prototype); AccSecurity.prototype.constructor = AccSecurity; Object.defineProperty(AccSecurity.prototype, 'services', { get: function() { this._services = this._services || new ServiceList(this); return this._services; } }); module.exports = AccSecurity;