Members
delete
Methods
addAttachment(callback)
Parameters:
Name | Type | Description |
---|---|---|
callback |
Connection~requestCallback |
attachmentUrl(attachment)
TODO create an attachment Class that contains such logic
Parameters:
Name | Type | Description |
---|---|---|
attachment |
attachment |
getData()
get Json object ready to be posted on the API
getPicturePreview(width, height) → {string}
TODO document and rename to getPicturePreviewUrl
Parameters:
Name | Type | Description |
---|---|---|
width |
||
height |
Returns:
- Type
- string
removeAttachment(callback)
Parameters:
Name | Type | Description |
---|---|---|
callback |
Connection~requestCallback |
update(callback)
Parameters:
Name | Type | Description |
---|---|---|
callback |
Connection~requestCallback |