class Legion::Extensions::Node::Transport::Messages::PublicKey

Public Instance Methods

encrypt?() click to toggle source
# File lib/legion/extensions/node/transport/messages/public_key.rb, line 11
def encrypt?
  false
end
routing_key() click to toggle source
# File lib/legion/extensions/node/transport/messages/public_key.rb, line 3
def routing_key
  'node.crypt.update_public_key'
end
type() click to toggle source
# File lib/legion/extensions/node/transport/messages/public_key.rb, line 7
def type
  'task'
end
validate() click to toggle source
# File lib/legion/extensions/node/transport/messages/public_key.rb, line 15
def validate
  raise 'public_key should be a string' unless @options[:public_key].is_a?(String)

  @valid = true
end