Class: EntityMethods
| Defined in: | src/methods/entity-methods.coffee |
Overview
Provides methods to interact with scotties.
Instance Method Summary
- # (void) get(id, options = {}, cb = function() {}) Bound Looks up a user or organization by id.
- # (void) getByName(accountId, name, options = {}, cb = function() {}) Bound
- # (void) getByNameOrId(accountId, nameOrId, options = {}, cb = function() {}) Bound
Constructor Details
#
(void)
constructor(models)
Initializes a new instance of the @see ScottyMethods class.
Instance Method Details
#
(void)
get(id, options = {}, cb = function() {})
Bound
Looks up a user or organization by id. Users are first.
#
(void)
getByName(accountId, name, options = {}, cb = function() {})
Bound
TODO:
resthelper implementation
#
(void)
getByNameOrId(accountId, nameOrId, options = {}, cb = function() {})
Bound
TODO:
resthelper implementation