Class: OrganizationMethods
| Defined in: | src/methods/organization-methods.coffee |
Overview
Provides methods to interact with scotties.
Instance Method Summary
- # (void) all(accountId, options = {}, cb = function() {}) Bound
- # (void) get(organizationId, options = {}, cb = function() {}) Bound Looks up a user by id.
- # (void) destroy(organizationId, options = {}, cb = function() {}) Bound Completely destroys an organization.
- # (void) getByName(accountId, name, options = {}, cb = function() {}) Bound
- # (void) getByNameOrId(accountId, nameOrId, options = {}, cb = function() {}) Bound
- # (void) patch(organizationId, obj = {}, options = {}, cb = function() {}) Bound Patch an organization
- # (void) create(accountId, objs = {}, options = {}, cb = function() {}) Bound Creates a new organization.
Constructor Details
#
(void)
constructor(models)
Initializes a new instance of the @see ScottyMethods class.
Instance Method Details
#
(void)
all(accountId, options = {}, cb = function() {})
Bound
#
(void)
get(organizationId, options = {}, cb = function() {})
Bound
Looks up a user by id.
#
(void)
destroy(organizationId, options = {}, cb = function() {})
Bound
Completely destroys an organization.
#
(void)
getByName(accountId, name, options = {}, cb = function() {})
Bound
#
(void)
getByNameOrId(accountId, nameOrId, options = {}, cb = function() {})
Bound
#
(void)
patch(organizationId, obj = {}, options = {}, cb = function() {})
Bound
Patch an organization
#
(void)
create(accountId, objs = {}, options = {}, cb = function() {})
Bound
Creates a new organization.