We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d54ae commit ea69825Copy full SHA for ea69825
lib/stretchr/transporters/json_transporter.rb
@@ -10,7 +10,7 @@ class JSONTransporter
10
# Expects: {uri: URIOBJECT, body: "body", method: "PUT/PATCH/POST/DELETE/GET", client: stretchr client}
11
def make_request(request)
12
response = nil
13
-
+
14
#convert to a json string unless the user already did it...
15
request[:body] = request[:body].to_json unless request[:body].is_a? String
16
0 commit comments