- constructor()
-
[constructor input]
-
getAction() ⇒
string
-
[getAction description]
-
getPayload() ⇒
string
-
[getPayload description]
-
isValid() ⇒
Boolean
-
[isValid description]
[constructor input]
[getAction description]
Kind: global function
Returns: string
- [description]
[getPayload description]
Kind: global function
Returns: string
- [description]
[isValid description]
Kind: global function
Returns: Boolean
- [description]
-
create(record) ⇒
promise
-
[create description]
-
get(_id, category) ⇒
promise
-
[get description]
-
update(_id, record) ⇒
promise
-
[update description]
-
delete(_id) ⇒
promise
-
[delete description]
[create description]
Kind: global function
Param | Type |
---|---|
record | object |
[get description]
Kind: global function
Param | Type |
---|---|
_id | number |
category | string |
[update description]
Kind: global function
Returns: promise
- [description]
Param | Type | Description |
---|---|---|
_id | number |
[description] |
record | object |
[description] |
[delete description]
Kind: global function
Returns: promise
- [description]
Param | Type | Description |
---|---|---|
_id | number |
[description] |