Class: Sourced::Message::Payload

Inherits:
Types::Data
  • Object
show all
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]

#fetchObject



106
# File 'lib/sourced/message.rb', line 106

def fetch(...) = to_h.fetch(...)