Sha256: 3d8ab717327978299f5b92251b71c959c408f8fcb101f47ea57210b61683e81a

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require "prop/limiter"
require "forwardable"

module Prop
  VERSION = "0.7.1"

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