Class: Tailmix::Definition::PayloadProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/tailmix/definition/payload_proxy.rb

Overview

A proxy object that is passed to the ‘action do |payload|` block. It creates PayloadValue markers instead of containing the actual data.

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



11
12
13
# File 'lib/tailmix/definition/payload_proxy.rb', line 11

def [](key)
  PayloadValue.new(key.to_sym)
end