summaryrefslogtreecommitdiff
path: root/lib/Plack/Middleware/APIRateLimit/Backend.pm
blob: 5628e86793d3bf1024b7dbc6c8e085373c706554 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package Plack::Middleware::APIRateLimit::Backend;

use Moose;
use Carp;

sub incr {
    confess "Backend must implement an incr method";
}

sub get {
    confess "Backend must implement a get method";
}

1;