Sha256: a859b5527ab95193e77b2b76c03ee488d162c26e57ffc2b51145c59a55c6d23b

Contents?: true

Size: 227 Bytes

Versions: 2

Compression:

Stored size: 227 Bytes

Contents

require 'singleton'

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.6 lib/rate_limiter/config.rb
rate_limiter-0.0.5 lib/rate_limiter/config.rb