Sha256: 96576933a2b48518cc46150c128b929adc5fbe915531bb0b43f418044599f688

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 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

    def clear(key)
      # Stub
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rlimiter-1.0.5 lib/rlimiter/client.rb