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

24 lines
631 B
JavaScript
Raw Normal View History

2016-05-03 23:18:18 +00:00
// 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
2013-06-25 16:29:53 +00:00
var base = require('pkgcloud').storage;
var util = require('util');
2013-06-25 20:06:54 +00:00
exports.Container = Container;
function Container(client, details) {
2014-01-10 19:34:37 +00:00
base.Container.call(this, client, details);
}
2013-06-25 16:29:53 +00:00
util.inherits(Container, base.Container);
2014-01-10 19:34:37 +00:00
Container.prototype._setProperties = function (details) {
for (var k in details) {
if (typeof details[k] !== 'function') {
this[k] = details[k];
2013-06-25 17:44:37 +00:00
}
2014-01-10 19:34:37 +00:00
}
};