Class: Raven::MessageInterface

Inherits:
Interface show all
Defined in:
lib/raven/interfaces/message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Interface

name, #to_hash

Constructor Details

#initialize(*arguments) ⇒ MessageInterface

Returns a new instance of MessageInterface.



10
11
12
13
# File 'lib/raven/interfaces/message.rb', line 10

def initialize(*arguments)
  self.params = []
  super(*arguments)
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



7
8
9
# File 'lib/raven/interfaces/message.rb', line 7

def message
  @message
end

#paramsObject

Returns the value of attribute params.



8
9
10
# File 'lib/raven/interfaces/message.rb', line 8

def params
  @params
end