Sha256: eb02deaaefd4a70228a0af62d8f81b484a74c70a5a45dc50d3126f68fb7f1e28

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true
require "prop/limiter"
require "forwardable"

module Prop
  VERSION = "2.9.0"

  # Short hand for accessing Prop::Limiter methods
  class << self
    extend Forwardable
    def_delegators :"Prop::Limiter", :read, :write, :cache, :cache=, :configure, :configurations, :disabled, :before_throttle
    def_delegators :"Prop::Limiter", :throttle, :throttle!, :throttled?, :count, :query, :reset, :after_evaluated
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prop-2.9.0 lib/prop.rb