Sha256: a0c0f2306d20d993c22decca44d4ef5e86a6819e8f504ef33194a6b508a0b561

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require "prop/limiter"
require "forwardable"

module Prop
  VERSION = "0.7.5"

  # 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.5 lib/prop.rb