Sha256: 638d373fa81b49166c0ddbc1d2290c3ed286f80b1d021936bbd996c433183758

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require "prop/limiter"
require "forwardable"

module Prop
  VERSION = "0.7.3"

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