Sha256: bc292d382199248a1477fbc4cfcc98a540da4c619df20c08bde0b7f85f02a21f

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require "prop/limiter"
require "forwardable"

module Prop
  VERSION = "1.0.2"

  # 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, :throttle!, :throttled?, :count, :query, :reset
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prop-1.0.2 lib/prop.rb