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
|
|
|
}
|
|
|
|
};
|