Sha256: d02fa1a1615d327c42506d2044f6430b736cc8d7bfe51235f3d5f3868232b023

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.4"

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