Organization
Extends:
models/base~Model → Organization
Method Summary
Public Methods | ||
public |
accept_membership(request: *, callback: *) |
|
public |
create() |
|
public |
Fetch an organization given its identifier, either an ID or a slug.
|
|
public |
is_admin(obj: *): * |
|
public |
is_member(obj: *): * |
|
public |
refuse_membership(request: *, comment: *, callback: *) |
|
public |
role_for(obj: *): * |
|
public |
save() |
|
public |
update(data: *) |
Public Methods
public accept_membership(request: *, callback: *) source
Params:
Name | Type | Attribute | Description |
request | * | ||
callback | * |
public create() source
public fetch(ident: String): Dataset source
Fetch an organization given its identifier, either an ID or a slug.
Params:
Name | Type | Attribute | Description |
ident | String | The organization identifier to fetch. |
public refuse_membership(request: *, comment: *, callback: *) source
Params:
Name | Type | Attribute | Description |
request | * | ||
comment | * | ||
callback | * |
public save() source
public update(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |