Sha256: 79443c9b9a33ae9d0f92bd8849a861d7bedf2dab3852a65d9c6f4a9b9bb86494

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

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

module Prop
  VERSION = "2.2.2"

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