Methods
create(modifier) → {Promise.<any>}
Create a new Modifier
- Source:
Parameters:
Name | Type | Description |
---|---|---|
modifier |
Object
|
The Modifier Object |
Returns:
- Type:
-
Promise.<any>
- The id of the Modifier Object
delete(id) → {Promise.<any>}
Delete an existing Modifier
- Source:
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
The id of the Modifier Object |
Returns:
- Type:
-
Promise.<any>
update(id, modifier) → {Promise.<any>}
Update an existing Modifier
- Source:
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
The id of the Modifier Object |
modifier |
Object
|
The Modifier Object |
Returns:
- Type:
-
Promise.<any>
- The id of the Modifier Object