Exception: Pebbles::River::InvalidPayloadError
- Inherits:
-
StandardError
- Object
- StandardError
- Pebbles::River::InvalidPayloadError
- Defined in:
- lib/pebbles/river/message.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(message, content) ⇒ InvalidPayloadError
constructor
A new instance of InvalidPayloadError.
Constructor Details
#initialize(message, content) ⇒ InvalidPayloadError
Returns a new instance of InvalidPayloadError.
8 9 10 11 |
# File 'lib/pebbles/river/message.rb', line 8 def initialize(, content) super("#{}. Content was: #{content.inspect}") @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
6 7 8 |
# File 'lib/pebbles/river/message.rb', line 6 def content @content end |