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

18 lines
382 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.File = File;
function File(client, details) {
2013-06-25 16:29:53 +00:00
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
}