PlaceOS::Client::API::Models::Websocket::Response
Inherits Struct < Value < Object
Constructors
new
SourceClass methods
from_json(input)
Parses a websocket response into a concrete response type.
FIXME: currently this is parsing twice - this is a quick hack to get things going. When time allows this should be refactored to work as a single pass, or provide a more efficient method for identifying the message type.
Instance methods
initialize
SourceNested types
- PlaceOS::Client::API::Models::Websocket::Response::Debug
- PlaceOS::Client::API::Models::Websocket::Response::Error
- PlaceOS::Client::API::Models::Websocket::Response::Meta
- PlaceOS::Client::API::Models::Websocket::Response::Notify
- PlaceOS::Client::API::Models::Websocket::Response::Success
- PlaceOS::Client::API::Models::Websocket::Response::Type