Sha256: bceaa1ab8aa400cf8480520885e9a73b927093ea47a87d7b584aa7064091e855

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

require "prop/limiter"
require "forwardable"

module Prop
  VERSION = "1.2.0"

  # Short hand for accessing Prop::Limiter methods
  class << self
    extend Forwardable
    def_delegators :"Prop::Limiter", :read, :write, :configure, :configurations, :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.2.0 lib/prop.rb