Constructor Summary
| Public Constructor | ||
| public |
constructor(response: Object) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
Public Constructors
public constructor(response: Object) source
Params:
| Name | Type | Attribute | Description |
| response | Object | JSON formatted response of an audit version. |
|
| response.id | Number | The audit version ID value |
|
| response.category | Boolean | The category of the audit version. |
|
| response.created_at | String | The date when the audit version was created. |
|
| response.event | String | Event of the audit change. This can be 'create', 'update', or 'destroy'. |
|
| response.ip | String | Ip information associated with this audit version. |
|
| response.original_object | Object | Original object will be present if event is either 'destroy' or 'update'. This is the original object that was either destroyed or updated. |
|
| response.object_changes | Object | Object changes will appear if event is either 'create' or 'update'. This is an object with key/value information on attribute changes that were made. |
|
| response.reason_for_changes | Object | Object changes will appear if event is 'update'. This is an object with key/value information on reason for change. |
|
| response.user_agent | String | User agent associated with this audit version. |
Manual
Reference
Source
Test
