26 lines
645 B
JavaScript
26 lines
645 B
JavaScript
// Copyright IBM Corp. 2013,2016. 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
|
|
|
|
'use strict';
|
|
|
|
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];
|
|
}
|
|
}
|
|
};
|