NAME
WebService::Mattermost::V4::API::Object - Base class for results returned from the API.
VERSION
version 0.29
DESCRIPTION
Base class for wrappers for individual 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 <mike@netsplit.org.uk>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2020 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License