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