Sha256: cf1ea4bb2c9395cd7f27928261fb18b378952a7886a47ce02d71b04a6ee59553
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
module ServiceDowntimeSimulator module Modes class TimingOut < Base def call(*) delay(15) super end def delay(duration) sleep(duration) end private def status 503 end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
service_downtime_simulator-0.1.1 | lib/service_downtime_simulator/modes/timing_out.rb |
service_downtime_simulator-0.1.0 | lib/service_downtime_simulator/modes/timing_out.rb |