Sha256: 89c42332a00b7b6916566d2f6c567de410e6016b3b6c8478513d32410fe87575

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

# Inherit the below class for custom implementations of any storage clients.
module Rlimiter
  class Client

    def limit(key, count, duration)
      # Stub
    end

    def next_in(key, duration)
      # Stub
    end

    def current_count(key)
      # Stub
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rlimiter-1.0.4 lib/rlimiter/client.rb
rlimiter-1.0.3 lib/rlimiter/client.rb