aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSteven Blowers <shdblowers@gmail.com>2016-10-30 18:54:34 +0000
committerSteven Blowers <shdblowers@gmail.com>2016-10-30 18:54:34 +0000
commit01d88a22c6cc00b561b0114c0865ba52f355d97c (patch)
treefc38bf9b9642fb3ccc4af6dafe3fdc61faa2d9ec /README.md
parent0c19e15c7383ccfbc45bed6c7e4c38d814e60cf6 (diff)
downloadzendex-01d88a22c6cc00b561b0114c0865ba52f355d97c.tar.gz
zendex-01d88a22c6cc00b561b0114c0865ba52f355d97c.tar.xz
refactor set_up to setup, test for encoding authorization details
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index db64ce1..786e2dc 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ An Elixir wrapper for the Zendesk API.
1. Setup a `Zendex.Connection` map, that will store your Zendesk details. It requires the URL of your Zendesk instance, your username and your password.
```elixir
- iex> conn = Zendex.Connection.set_up("http://test.zendesk.com", "User1", "pass")
+ iex> conn = Zendex.Connection.setup("http://test.zendesk.com", "User1", "pass")
%{authentication: "VXNlcjE6cGFzcw==", base_url: "http://test.zendesk.com"}
```