PlaceOS::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
Source