module EventSource::Controls::EventData::Hash

Public Class Methods

data() click to toggle source
# File lib/event_source/controls/event_data/hash.rb, line 5
def self.data
  {
    some_attribute: 'some value'
  }
end
example() click to toggle source
# File lib/event_source/controls/event_data/hash.rb, line 11
def self.example
  EventSource::EventData::Hash[data]
end