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