Sha256: 8f1d69804126e3bbe1ea2116f6478f0752d2ba85665a6426367ececc0c268fd2

Contents?: true

Size: 223 Bytes

Versions: 3

Compression:

Stored size: 223 Bytes

Contents

module Millrace
  class RateLimited < StandardError
    def initialize(limit_name:, retry_after:)
      @limit_name = limit_name
      @retry_after = retry_after
    end

    attr_reader :limit_name, :retry_after
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
millrace-0.1.2 lib/millrace/rate_limited.rb
millrace-0.1.1 lib/millrace/rate_limited.rb
millrace-0.1.0 lib/millrace/rate_limited.rb