Sha256: ef81fd5ab6627492581119beff1f8c6cda6d9baaa12202c376db8849d9d1f65f

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

require "prop/limiter"
require "forwardable"

module Prop
  VERSION = "0.7.8"

  # 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

2 entries across 2 versions & 1 rubygems

Version Path
prop-1.0.0 lib/prop.rb
prop-0.7.8 lib/prop.rb