Sha256: d5139861e72a75c54aa36150a6a6da006f142a55ed8a8867cdc835b5dbd30326
Contents?: true
Size: 438 Bytes
Versions: 8
Compression:
Stored size: 438 Bytes
Contents
module GeoConcerns class EventsGenerator class BaseEventsGenerator def initialize(messaging_client) @messaging_client = messaging_client end private def base_message(type, record) { "id" => record.id, "event" => type } end def publish_message(message) @messaging_client.publish(message.to_json) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems