Sha256: 5f6cb3cb74b39b72937f1f4a596cdbad70bb6d284437d72d146af98f50cb06e2
Contents?: true
Size: 291 Bytes
Versions: 17
Compression:
Stored size: 291 Bytes
Contents
# frozen_string_literal: true require 'cased/publishers/base' module Cased module Publishers class HTTPPublisher < Base def publish(audit_event) Cased.clients.publish.post do |req| req.body = JSON.generate(audit_event) end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems