Sha256: e4d6f211dbfcdbb8d8abedf4de46a5f18d0a002a4aa51ae44ac7c265f497b12a

Contents?: true

Size: 158 Bytes

Versions: 10

Compression:

Stored size: 158 Bytes

Contents

count = 0
run -> (env) {
  count += 1
  status = (count % 3 == 0) ? 200 : 500
  puts "Received request"; [status, {}, ["Hello. This might be an error.\n"]]
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pact_broker-2.8.0.beta.5 script/webhook-server.ru
pact_broker-2.8.0.beta.4 script/webhook-server.ru
pact_broker-2.7.0.beta.3 script/webhook-server.ru
pact_broker-2.7.0.beta.2 script/webhook-server.ru
pact_broker-2.7.0.beta.1 script/webhook-server.ru
pact_broker-2.6.0 script/webhook-server.ru
pact_broker-2.5.1 script/webhook-server.ru
pact_broker-2.5.0 script/webhook-server.ru
pact_broker-2.4.2 script/webhook-server.ru
pact_broker-2.4.1 script/webhook-server.ru