Sha256: bf54a4aab97f867d85c53051745f508a90b05c75c0d5440b6c497b4a5d4522ac

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

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

module Prop
  VERSION = "2.6.1"

  # 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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prop-2.6.1 lib/prop.rb