Class Member
Extends
Resource.
Member Resource
Defined in: member.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Member(spire, data)
Represents a member in the spire api.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Actual data from the spire.io api.
|
|
|
Reference to spire object.
|
| Method Attributes | Method Name and Description |
|---|---|
|
login()
Returns the member login.
|
|
|
profile()
Returns the members profile.
|
- Methods borrowed from class Resource:
- authorization, capabilities, capability, get, getIfCapable, mediaType, request, schema, update, url
Class Detail
Member(spire, data)
Represents a member in the spire api.
- Parameters:
- {object} spire
- Spire object
- {object} data
- Member data from the spire api
Field Detail
data
Actual data from the spire.io api.
spire
Reference to spire object.
Method Detail
{string}
login()
Returns the member login.
- Returns:
- {string} Member login
{string}
profile()
Returns the members profile.
- Returns:
- {string} Member profile