Sha256: 744b7977e05e22fc9bdd91f02f1d2173b106dbab39c56d8df8041b934eecf5f6

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

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