aboutsummaryrefslogtreecommitdiff
path: root/lib/Device.js
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-12-14 22:23:28 -0500
committerBen Burwell <ben@benburwell.com>2015-12-14 22:23:28 -0500
commit25ae4e9c132d6e68ddb389808b8f22c8f43b17cd (patch)
treef1647f2fa1df50cb5f06dbe8c23d4aa9deac8132 /lib/Device.js
parent05337261ffb4abfb0fbbb9c775ccad0e28645692 (diff)
Begin rewrite for new OAuth API
Diffstat (limited to 'lib/Device.js')
-rw-r--r--lib/Device.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Device.js b/lib/Device.js
deleted file mode 100644
index bfc4d34..0000000
--- a/lib/Device.js
+++ /dev/null
@@ -1,12 +0,0 @@
-var _util = require('./util');
-
-module.exports.Device = function(options) {
- this._id = options.id;
- this._name = options.name;
- this._latitude = options.latitude;
- this._longitude = options.longitude;
- this._position_accuracy = options.position_accuracy;
- this._position_timestamp = options.position_timestamp;
- this._agencies = options.agencies;
- this._uri = options.uri || _util.API_BASE + '/devices/' + options.id;
-};