Class: OrganizationMethods

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

Overview

Provides methods to interact with scotties.

Constant Summary

CREATE_FIELDS =
['name']
UPDATE_FIELDS =
['name', 'description', 'tags']

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) all(offset = 0, count = 25, cb) (bound)

- (void) get(id, cb = function() {}) (bound)

Looks up a user by id.

- (void) getByName(name, cb = function() {}) (bound)

- (void) getByNameOrId(nameOrId, cb = function() {}) (bound)