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.



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

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

Instance Attribute Details

#messageObject

Returns the value of attribute message.



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

def message
  @message
end

#paramsObject

Returns the value of attribute params.



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

def params
  @params
end