code: def send(message = nil)
        @alert = message if message.is_a?(String)
        @data = message if message.is_a?(Hash)
        client.push( payload.as_json )
      end
docs: helper method to send a message
   @param message [String] the message to send