Sha256: c016448af5dcf4823a997be3add295bfe6a09f94f39143a1c0312d6dc7fc291f

Contents?: true

Size: 891 Bytes

Versions: 2

Compression:

Stored size: 891 Bytes

Contents

require 'rack'

module Rack
  module Throttle
    autoload :Limiter,    ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/limiter'
    autoload :Interval,   ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/interval'
    autoload :TimeWindow, ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/time_window'
    autoload :Daily,      ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/daily'
    autoload :Hourly,     ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/hourly'
    autoload :Minute,     ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/minute'
    autoload :Second,     ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/second'
    autoload :Rules,      ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/rules'
    autoload :VERSION,    ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/version'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-throttle-0.7.0 lib/rack/throttle.rb
rack-throttle-0.6.0 lib/rack/throttle.rb