Sha256: 08a2b9308fadb67f578f66eac5a621c3a934f7017e7ce47f5be62d68a78c4e83
Contents?: true
Size: 206 Bytes
Versions: 2
Compression:
Stored size: 206 Bytes
Contents
module RateLimiter class Config include Singleton attr_accessor :enabled, :timestamp_field def initialize @enabled = true @timestamp_field = :created_at end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rate_limiter-0.0.4 | lib/rate_limiter/config.rb |
rate_limiter-0.0.3 | lib/rate_limiter/config.rb |