module EventStore::HTTP::Controls::MediaTypes::Events::JSON
Public Class Methods
text()
click to toggle source
# File lib/event_store/http/controls/media_types/events/json.rb, line 7 def self.text <<~JSON.chomp [ { "eventId": "#{UUID.example}", "eventType": "#{Event::Type.example}", "data": { "someAttribute": "some-value-0" } } ] JSON end