Class: Raven::MessageInterface
- Defined in:
- lib/raven/interfaces/message.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#params ⇒ Object
Returns the value of attribute params.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*arguments) ⇒ MessageInterface
constructor
A new instance of MessageInterface.
- #unformatted_message ⇒ Object
Methods inherited from Interface
inherited, registered, #to_hash
Constructor Details
#initialize(*arguments) ⇒ MessageInterface
Returns a new instance of MessageInterface.
7 8 9 10 |
# File 'lib/raven/interfaces/message.rb', line 7 def initialize(*arguments) self.params = [] super(*arguments) end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'lib/raven/interfaces/message.rb', line 5 def @message end |
#params ⇒ Object
Returns the value of attribute params.
5 6 7 |
# File 'lib/raven/interfaces/message.rb', line 5 def params @params end |
Class Method Details
.sentry_alias ⇒ Object
16 17 18 |
# File 'lib/raven/interfaces/message.rb', line 16 def self.sentry_alias :logentry end |
Instance Method Details
#unformatted_message ⇒ Object
12 13 14 |
# File 'lib/raven/interfaces/message.rb', line 12 def params.nil? ? : % params end |