aboutsummaryrefslogtreecommitdiff
path: root/lib/http_client/in_memory.ex
diff options
context:
space:
mode:
authorSteven Blowers <sblowers@findmypast.com>2016-09-07 10:17:17 +0100
committerSteven Blowers <sblowers@findmypast.com>2016-09-07 10:17:17 +0100
commitffc64c707a04c5a55de9132ad6b6949ff74efcc7 (patch)
tree003905a5ecfe9fc3a8074a9093670235df7f4bd6 /lib/http_client/in_memory.ex
parent2371d345c69455882df9d9d9f7692804f9aa5001 (diff)
downloadzendex-ffc64c707a04c5a55de9132ad6b6949ff74efcc7.tar.gz
zendex-ffc64c707a04c5a55de9132ad6b6949ff74efcc7.tar.xz
Adding tests and creating a ticket.
Diffstat (limited to 'lib/http_client/in_memory.ex')
-rw-r--r--lib/http_client/in_memory.ex6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/http_client/in_memory.ex b/lib/http_client/in_memory.ex
new file mode 100644
index 0000000..cdb4ef3
--- /dev/null
+++ b/lib/http_client/in_memory.ex
@@ -0,0 +1,6 @@
+defmodule Zendex.HttpClient.InMemory do
+
+ def get!("http://test.zendesk.com/api/v2/tickets.json", [{"Authorization", authentication}]) do
+ "ticket"
+ end
+end