public function getLastRateLimitInfo($action, $method) {
        $rate_limit_info = $this->lastRateLimitInfo;
        $method = strtoupper($method);
        return (isset($rate_limit_info[$action]) && isset($rate_limit_info[$action][$method])) ?
            $rate_limit_info[$action][$method] : null;
    }