Sha256: d68651357e146cd0061df6c5ba7d5c2235aea31eb6ca67007e7e28535d8f28ee

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require "prop/limiter"
require "forwardable"

module Prop
  VERSION = "0.7.7"

  # Short hand for accessing Prop::Limiter methods
  class << self
    extend Forwardable
    def_delegators :"Prop::Limiter", :read, :write, :configure, :disabled
    def_delegators :"Prop::Limiter", :throttle!, :throttled?, :count, :query, :reset
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prop-0.7.7 lib/prop.rb