class Cased::Publishers::HTTPPublisher
Public Instance Methods
publish(audit_event)
click to toggle source
# File lib/cased/publishers/http_publisher.rb, line 8 def publish(audit_event) Cased.clients.publish.post do |req| req.body = JSON.generate(audit_event) end end