lib/evil/client/middleware/stringify_json.rb in evil-client-0.3.1 vs lib/evil/client/middleware/stringify_json.rb in evil-client-0.3.2

- old
+ new

@@ -1,6 +1,10 @@ class Evil::Client::Middleware class StringifyJson < Base + def call(env, schema, options) + super build(env), schema, options + end + private def build(env) return env unless env[:format] == "json"