Sha256: 0e2b23bab165773f9719f7812305f66d7ab2787945b508682372f6d1e481e08e

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

module Prorate
  class Throttled < StandardError
    attr_reader :retry_in_seconds
    def initialize(try_again_in)
      @retry_in_seconds = try_again_in
      super("Throttled, please lower your temper and try again in %d seconds" % try_again_in)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prorate-0.1.0 lib/prorate/throttled.rb