sailthru/Sailthru_Client.php
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;
    }
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;
    }
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 ; }
get the rate limit information for the very last call with given action and method
@param string $action
@param string $method GET, POST or DELETE
@return array or null
get the rate limit information for the very last call with given action and method