6 7 8 9 10 11 12 13 14 15 16
# File 'lib/cloud66_agent/commands/send_message.rb', line 6 def self.perform(key,options) data = { key: key, options: options } Utils::Server.send_message(data) exit 0 rescue => exc $logger.error "Command \"send_message\" failed: #{exc.message}" exit -1 end