Sha256: fa19a859592feb1579fdad93f7d948265f004fe2fd1eba3c9c2e3ace1e6ef310
Contents?: true
Size: 268 Bytes
Versions: 9
Compression:
Stored size: 268 Bytes
Contents
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rack/throttle' gem 'memcached' require 'memcached' use Rack::Throttle::Interval, :min => 3.0, :cache => Memcached.new run lambda { |env| [200, {'Content-Type' => 'text/plain'}, "Hello, world!\n"] }
Version data entries
9 entries across 9 versions & 3 rubygems