Repository URL to install this package:
|
Version:
0.2.0.1 ▾
|
module EventSource
module Controls
module EventData
def self.type
'SomeType'
end
def self.data
{ :some_attribute => 'some value' }
end
module JSON
def self.data(id=nil)
data = EventData.data
Casing::Camel.(data, symbol_to_string: true)
end
def self.text
data.to_json
end
end
end
end
end