struct

EventBus::Event

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(timestamp : Time, schema : String, table : String, action : Action, id : JSON::Any, data : String, changes : String | Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

action
changes
clone
Source
copy_with(timestamp _timestamp = @timestamp, schema _schema = @schema, table _table = @table, action _action = @action, id _id = @id, data _data = @data, changes _changes = @changes)
Source
data
id
schema
table
timestamp