struct EventBus::Event
- EventBus::Event
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
eventbus/event.crConstructors
- .new(timestamp : Time, schema : String, table : String, action : Action, id : JSON::Any, data : String, changes : String | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #action : Action
- #changes : String | Nil
- #clone
- #copy_with(timestamp _timestamp = @timestamp, schema _schema = @schema, table _table = @table, action _action = @action, id _id = @id, data _data = @data, changes _changes = @changes)
- #data : String
- #id : JSON::Any
- #schema : String
- #table : String
- #timestamp : Time
Constructor Detail
def self.new(timestamp : Time, schema : String, table : String, action : Action, id : JSON::Any, data : String, changes : String | Nil)
#
Instance Method Detail
def copy_with(timestamp _timestamp = @timestamp, schema _schema = @schema, table _table = @table, action _action = @action, id _id = @id, data _data = @data, changes _changes = @changes)
#