Sha256: d500d229522f277364e3ab5f917799fd75efec46799cba4f91e567221075d38d
Contents?: true
Size: 281 Bytes
Versions: 2
Compression:
Stored size: 281 Bytes
Contents
class Idempo::MalformedKeyErrorApp def self.call(env) res = { ok: false, error: { message: "The Idempotency-Key header provided was empty or malformed" } } [400, {"Content-Type" => "application/json"}, [JSON.pretty_generate(res)]] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
idempo-1.2.2 | lib/idempo/malformed_key_error_app.rb |
idempo-1.2.1 | lib/idempo/malformed_key_error_app.rb |