Class: Legion::Extensions::Eval::Transport::Exchanges::Codegen

Inherits:
Transport::Exchange
  • Object
show all
Defined in:
lib/legion/extensions/eval/transport/exchanges/codegen.rb

Instance Method Summary collapse

Instance Method Details

#exchange_nameObject



9
10
11
# File 'lib/legion/extensions/eval/transport/exchanges/codegen.rb', line 9

def exchange_name
  'codegen'
end

#exchange_optionsObject



13
14
15
# File 'lib/legion/extensions/eval/transport/exchanges/codegen.rb', line 13

def exchange_options
  { type: 'topic', durable: true }
end