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