lib/legion/extensions/transformer/transport/messages/message.rb in lex-transformer-0.1.2 vs lib/legion/extensions/transformer/transport/messages/message.rb in lex-transformer-0.1.3
- old
+ new
@@ -3,10 +3,11 @@
def type
'task'
end
def message
- { args: @options[:args] || @options }
+ @options[:function] = function.values[:name]
+ @options
end
def routing_key
"#{function.runner.extension.values[:name]}.#{function.runner.values[:name]}.#{function.values[:name]}"
end