You are here

public function RestfulRateLimit::isExpired in RESTful 7

Checks if the entity is expired.

File

includes/RestfulRateLimit.php, line 22
Contains RestfulRateLimit.

Class

RestfulRateLimit
@file Contains RestfulRateLimit.

Code

public function isExpired() {
  return REQUEST_TIME > $this->expiration;
}