aboutsummaryrefslogtreecommitdiff
path: root/lib/http_client/in_memory.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http_client/in_memory.ex')
-rw-r--r--lib/http_client/in_memory.ex5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/http_client/in_memory.ex b/lib/http_client/in_memory.ex
index 3d1a3ea..8e6ce61 100644
--- a/lib/http_client/in_memory.ex
+++ b/lib/http_client/in_memory.ex
@@ -14,8 +14,7 @@ defmodule Zendex.HttpClient.InMemory do
["Jimbob Ticket 1", "Jimbob Ticket 2"]
end
- def post!("http://test.zendesk.com/api/v2/tickets.json",
- "{\"ticket\": {}}",
- [{"Authorization", _authentication}, {"Content-Type", "application/json"} ]) do
+ def post!("http://test.zendesk.com/api/v2/tickets.json", "{\"ticket\":{}}", [{"Authorization", _authentication}, {"Content-Type", "application/json"}]) do
+ "Ticket created successfully!"
end
end