aboutsummaryrefslogtreecommitdiff
path: root/lib/Device.js
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2016-01-03 18:33:18 -0500
committerBen Burwell <ben@benburwell.com>2016-01-03 18:33:18 -0500
commit7ae1d77739fa57a8f17e350a80a4e384dfdd4c0b (patch)
tree56ed225e94fbcf0545d76bd9b71e2d24e26b16b8 /lib/Device.js
parent05337261ffb4abfb0fbbb9c775ccad0e28645692 (diff)
parentd82f3d0034d062fb8e76d3b2ef31f7f14c087df8 (diff)
Merge pull request #2 from benburwell/develop
Update to new version of Active911
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;
-};