Constructor Summary
| Public Constructor | ||
| public |
constructor(response: Object) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| 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 a session. |
|
| response.id | Number | The session ID value |
|
| response.sign_in_count | String | Number of sign ins |
|
| response.last_sign_in_at | String | Date in which the session was last signed in |
|
| response.failed_attempts | String | Number of failed attempts |
|
| response.locked_at | String | Date in which the session was locked |
|
| response.username | String | User name |
|
| response.email | String | The email address of the session |
|
| response.authentication_token | String | Current authentication token |
|
| response.confirmed_at | String | Date in which the session was confirmed |
|
| response.invitation_sent_at | String | Date in which the invitation was sent |
|
| response.invitation_accepted_at | String | Date in which the invitation was accepted |
|
| response.invitation_due_at | String | Date in which the invitation is going to expire |
|
| response.password_changed_at | String | Date in which the password was changed |
|
| response.disabled_at | String | Date in which the session was disabled |
Manual
Reference
Source
Test
