abstract class Caridina::Events::Event
- Caridina::Events::Event
- Reference
- Object
Overview
Base type representing an event.
It has a class method #from_json
that can be used to deserialize an event.
You can then match the returned event type against known types.
If the event is unknown, it returns nil.
Included Modules
- JSON::Serializable