lib/legion/extensions/node/transport/messages/push_cluster_secret.rb in lex-node-0.1.0 vs lib/legion/extensions/node/transport/messages/push_cluster_secret.rb in lex-node-0.1.1

- old
+ new

@@ -7,15 +7,15 @@ def exchange Legion::Transport::Exchanges::Node end def message - { function: 'receive_cluster_secret', - runner_class: 'Legion::Extensions::Node::Runners::Crypt', - message: @options[:message], + { function: 'receive_cluster_secret', + runner_class: 'Legion::Extensions::Node::Runners::Crypt', + message: @options[:message], validation_string: @options[:validation_string] || nil, - encrypted_string: @options[:encrypted_string] || nil, - public_key: Base64.encode64(Legion::Crypt.public_key) } + encrypted_string: @options[:encrypted_string] || nil, + public_key: Base64.encode64(Legion::Crypt.public_key) } end def type 'task' end