Class: Cloud66::Commands::SendMessage
- Inherits:
-
Object
- Object
- Cloud66::Commands::SendMessage
- Defined in:
- lib/cloud66_agent/commands/send_message.rb
Class Method Summary collapse
Class Method Details
.perform(key, options) ⇒ Object
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,) data = { key: key, options: } Utils::Server.(data) exit 0 rescue => exc $logger.error "Command \"send_message\" failed: #{exc.message}" exit -1 end |