Sha256: 51c932a99cdde12252478f387d8accec823a8097afc417c73bee040466f8d32e

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 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, :before_throttle
    def_delegators :"Prop::Limiter", :throttle!, :throttled?, :count, :query, :reset
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prop-1.0.1 lib/prop.rb