Class: Sourced::Message::Payload
- Inherits:
-
Types::Data
- Object
- Types::Data
- Sourced::Message::Payload
- Defined in:
- lib/sourced/message.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
105 |
# File 'lib/sourced/message.rb', line 105 def [](key) = attributes[key] |
#fetch ⇒ Object
106 |
# File 'lib/sourced/message.rb', line 106 def fetch(...) = to_h.fetch(...) |