Class Index | File Index

Classes


Class Message


Extends Resource.
Message Resource
Defined in: message.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Message(spire, data)
Represents a message in the spire api.
Field Summary
Field Attributes Field Name and Description
 
Message content.
 
Actual data from the spire.io api.
 
Reference to spire object.
 
Timestamp (in microseconds) of the event.
 
Event type.
Methods borrowed from class Resource:
authorization, capabilities, capability, get, getIfCapable, mediaType, request, schema, update, url
Class Detail
Message(spire, data)
Represents a message in the spire api.
Parameters:
{object} spire
Spire object
{object} data
Message data from the spire api
Field Detail
content
Message content.

data
Actual data from the spire.io api.

spire
Reference to spire object.

timestamp
Timestamp (in microseconds) of the event.

type
Event type. Will be "message".

Documentation generated by JsDoc Toolkit 2.4.0 on Wed May 30 2012 16:58:14 GMT-0700 (PDT)