loopback-component-storage/lib/providers/filesystem/container.js

24 lines
631 B
JavaScript

// Copyright IBM Corp. 2013,2014. All Rights Reserved.
// Node module: loopback-component-storage
// This file is licensed under the Artistic License 2.0.
// License text available at https://opensource.org/licenses/Artistic-2.0
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];
}
}
};