/**
  * Diagnostic method that responds if MemberMouse is active and working correctly
  * 
  * @param RestServer $rest An instance of the RestServer
  * @return Response object with status 200 containing if MemberMouse is installed, receives the request, and is able to respond
  */
 public function ping($rest)
 {
     $result = MM_MemberMouseService::ping();
     if ($result instanceof MM_Response) {
         return new Response($rest, $result->message, $result->message, RESPONSE_ERROR_CODE_INTERNAL, RESPONSE_ERROR_CODE_INTERNAL);
     }
     if ($result) {
         return new Response($rest, "PONG", "PONG");
     } else {
         return new Response($rest, "Plugin authorization failed", "Plugin authorization failed", RESPONSE_ERROR_CODE_INTERNAL, RESPONSE_ERROR_MESSAGE_INTERNAL);
     }
 }