Sha256: 0b935b11d96bf909bf43ba6be6b8a815610d2f1016b290bd0338b19d4ae4f3bf

Contents?: true

Size: 205 Bytes

Versions: 6

Compression:

Stored size: 205 Bytes

Contents

count = 0

get "/" do
  200
end

delete "/" do
  count = 0
  200
end

get "/unreliable/:max" do |max|
  max = Integer(max)
  count += 1
  if count <= max
    sleep 5
    "slow"
  else
    "fast"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
faraday-conductivity-0.3.1 spec/fake_server.rb
faraday-conductivity-0.3.0 spec/fake_server.rb
faraday-conductivity-0.2.1 spec/fake_server.rb
faraday-conductivity-0.2.0 spec/fake_server.rb
faraday-conductivity-0.1.1 spec/fake_server.rb
faraday-conductivity-0.1.0 spec/fake_server.rb