Sha256: 2912a17ebd84578c928506d20f622fb436c5a353607f54f16bffdf1284544692

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 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
      # Stub
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rlimiter-1.0.2 lib/rlimiter/client.rb
rlimiter-1.0.0 lib/rlimiter/client.rb