Module: RubySlime::Event

Extended by:
ActiveSupport::Concern
Defined in:
lib/ruby_slime/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



7
8
9
# File 'lib/ruby_slime/event.rb', line 7

def data
  @data
end

#metadataObject (readonly)

Returns the value of attribute metadata.



7
8
9
# File 'lib/ruby_slime/event.rb', line 7

def 
  @metadata
end

Instance Method Details

#initialize(data: {}, metadata: nil) ⇒ Object



9
10
11
12
# File 'lib/ruby_slime/event.rb', line 9

def initialize(data: {}, metadata: nil)
  @data = data
  @metadata = 
end