Class: AuthorizedUser
Defined in: | src/user/authorized.coffee |
Inherits: | AbstractUser |
Overview
A simple model class providing convenience methods for working with authorized users.
Instance Method Summary
- - (void) constructor(client, attributes) Constructor Create a new User.
- - (Object) goods() Get goods available to the user.
- - (Object) avatars(options = {}) Get avatars the user has created.
Inherited Method Summary
Methods inherited from AbstractUser
#constructor, #uncache, #assets
Constructor Details
- (void) constructor(client, attributes)
Create a new User. Possible attributes are Username, Password, EmailAddress, Firstname, Lastname, DateOfBirth, Status, Metadata, FacebookId.
Users should normally be created by Totem, and retrieved using Totem#user.
Instance Method Details
- (Object) goods()
Get goods available to the user.
- (Object) avatars(options = {})
Get avatars the user has created. Should normally be accessed via Totem#avatars.