module EventStore::HTTP::Controls::Event::Data
Public Class Methods
example(i=nil)
click to toggle source
# File lib/event_store/http/controls/event.rb, line 18 def self.example(i=nil) i ||= 0 { :some_attribute => "some-value-#{i}" } end
text(i=nil)
click to toggle source
# File lib/event_store/http/controls/event.rb, line 24 def self.text(i=nil) ::JSON.generate example(i) end