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, 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)