UNPKG

filesystem-storage-pkgcloud

Version:

filesystem storage provider for pkgcloud (based on loopback-storage-service)

19 lines (14 loc) 401 B
var base = require('pkgcloud').storage; var util = require('util'); exports.Container = Container; function Container(client, details) { base.Container.call(this, client, details); } util.inherits(Container, base.Container); Container.prototype._setProperties = function (details) { for (var k in details) { if (typeof details[k] !== 'function') { this[k] = details[k]; } } };