diff options
author | Ben Burwell <ben@benburwell.com> | 2016-01-03 18:33:18 -0500 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2016-01-03 18:33:18 -0500 |
commit | 7ae1d77739fa57a8f17e350a80a4e384dfdd4c0b (patch) | |
tree | 56ed225e94fbcf0545d76bd9b71e2d24e26b16b8 /lib/Agency.js | |
parent | 05337261ffb4abfb0fbbb9c775ccad0e28645692 (diff) | |
parent | d82f3d0034d062fb8e76d3b2ef31f7f14c087df8 (diff) |
Merge pull request #2 from benburwell/develop
Update to new version of Active911
Diffstat (limited to 'lib/Agency.js')
-rw-r--r-- | lib/Agency.js | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/Agency.js b/lib/Agency.js deleted file mode 100644 index c22a141..0000000 --- a/lib/Agency.js +++ /dev/null @@ -1,45 +0,0 @@ -var _util = require('./util'); - -module.exports.Agency = function(options) { - this._id = options.id; - this._name = options.name; - this._address = options.address; - this._city = options.city; - this._state = options.state; - this._latitude = options.latitude; - this._longitude = options.longitude; - this._devices = options.devices; - this._uri = options.uri || _util.API_BASE + '/agency/' + options.id; -}; - -module.exports.Agency.prototype.getId = function() { - return this._id; -}; - -module.exports.Agency.prototype.getName = function() { - return this._name; -}; - -module.exports.Agency.prototype.getAddress = function() { - return this._address; -}; - -module.exports.Agency.prototype.getCity = function() { - return this._city; -}; - -module.exports.Agency.prototype.getState = function() { - return this._state; -}; - -module.exports.Agency.prototype.getLatitude = function() { - return this._latitude; -}; - -module.exports.Agency.prototype.getLongitude = function() { - return this._longitude; -}; - -module.exports.Agency.prototype.getDevices = function() { - return this._devices; -}; |