Class: EntityMethods

Defined in: src/methods/entity-methods.coffee

Overview

Provides methods to interact with scotties.

Instance Method Summary

Constructor Details

- (void) constructor(models)

Initializes a new instance of the @see ScottyMethods class.

Parameters:

  • models (Object) A collection of models that can be used.

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