Class: Smith::Agent::RegistryBinding

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/smith/agent/registry_binding.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject



13
14
15
16
17
18
19
20
# File 'lib/smith/agent/registry_binding.rb', line 13

def to_h
  {
    key: key,
    agent_class: agent_class,
    call: call?,
    raw_binding: raw_binding
  }.freeze
end