2013-06-25 16:29:53 +00:00
|
|
|
var base = require('pkgcloud').storage;
|
|
|
|
var util = require('util');
|
|
|
|
|
|
|
|
var File = exports.File = function File(client, details) {
|
|
|
|
base.File.call(this, client, details);
|
|
|
|
};
|
|
|
|
|
|
|
|
util.inherits(File, base.File);
|
|
|
|
|
|
|
|
File.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 16:29:53 +00:00
|
|
|
}
|