NAME
WebService::Mattermost::V4::API::Object
DESCRIPTION
Base class for wrappers for results returned from the Mattermost API.
METHODS
_from_epoch()
-
Converts a UNIX timestamp from Mattermost to a DateTime object. The last three characters of the timestamp are trimmed to make it the expected length.
ATTRIBUTES
raw_data
-
The raw response from Mattermost.
auth_token
-
The current session's auth token, for rebuilding the API.
base_url
-
The server's base URL.
api
-
API access for the Object classes.
AUTHOR
Mike Jones email:mike@netsplit.org.uk