Sha256: 4998d8b9d3c44ac664e63855d90e1f7c83ee94de60e2bf7462fe076ba3a9a858
Contents?: true
Size: 325 Bytes
Versions: 8
Compression:
Stored size: 325 Bytes
Contents
module SearchKit module Models class Event include Virtus.model attribute :id attribute :channel attribute :state attribute :payload, Hash def initialize(event_data = {}) attributes = event_data.fetch(:attributes, {}) super(attributes) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems