struct EventBus::Event

Included Modules

Defined in:

eventbus/event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(timestamp : Time, schema : String, table : String, action : Action, id : JSON::Any, data : String, changes : String | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def action : Action #

def changes : String | Nil #

def clone #

[View source]
def copy_with(timestamp _timestamp = @timestamp, schema _schema = @schema, table _table = @table, action _action = @action, id _id = @id, data _data = @data, changes _changes = @changes) #

[View source]
def data : String #

def id : JSON::Any #

def schema : String #

def table : String #

def timestamp : Time #