You are here

public function RestfulRateLimitBase::setLimit in RESTful 7

Set the rate limit.

Parameters

array $limits: The limits to set.

File

plugins/rate_limit/RestfulRateLimitBase.php, line 59
Contains \RestfulRateLimitBase

Class

RestfulRateLimitBase
@file Contains \RestfulRateLimitBase

Code

public function setLimit($limits) {
  $this->limits = $limits;
}