Sha256: 03ae02901f634f1311bb4ebc262daf184e9612392b5b6125c540e42e1985adbc
Contents?: true
Size: 415 Bytes
Versions: 1
Compression:
Stored size: 415 Bytes
Contents
module Klogger class KloggerBase def initialize(config) @config = config end def self.event_to_hash(event) { :event_type => event.get_event_type, :object_type => event.get_object_type, :event_id => event.get_object_id.to_string, :account_id => event.get_account_id.to_string, :tenant_id => event.get_tenant_id.to_string } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
klogger-1.0.0 | lib/klogger/base.rb |