Implement get account names function.

This commit is contained in:
Valverde Antonio
2014-07-30 16:05:17 +09:00
parent fe05777e9b
commit 4c5ca95396
8 changed files with 69 additions and 1 deletions

View File

@@ -236,6 +236,12 @@ module.exports = function ControlServiceFactory(
})
}
this.getAccounts = function(type) {
return sendTwoWay('account.get', {
type: type
})
}
this.getSdStatus = function() {
return sendTwoWay('sd.status')
}