class ServiceDowntimeSimulator::Modes::TimingOut

Public Instance Methods

call(*) click to toggle source
# File lib/service_downtime_simulator/modes/timing_out.rb, line 4
def call(*)
  delay(15)
  super
end
delay(duration) click to toggle source
# File lib/service_downtime_simulator/modes/timing_out.rb, line 9
def delay(duration)
  sleep(duration)
end

Private Instance Methods

status() click to toggle source
# File lib/service_downtime_simulator/modes/timing_out.rb, line 15
def status
  503
end