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

19 lines
418 B
JavaScript
Raw Normal View History

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) {
2013-06-25 16:29:53 +00:00
base.Container.call(this, client, details);
};
util.inherits(Container, base.Container);
Container.prototype._setProperties = function(details) {
2013-06-25 17:44:37 +00:00
for(var k in details) {
if(typeof details[k] !== 'function') {
this[k] = details[k];
}
}
2013-06-25 20:06:54 +00:00
}