Skip to content

Commit

Permalink
adjust module paths in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrogemann committed Dec 27, 2015
1 parent 68eebd1 commit 8bbb63c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/couchdb_connector/reader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ defmodule Couchdb.Connector.Reader do
db_props = %{protocol: "http", hostname: "localhost",database: "couchdb_connector_test", port: 5984}
%{database: "couchdb_connector_test", hostname: "localhost", port: 5984, protocol: "http"}
Couchdb.Connector.fetch_uuid(db_props)
:ok, "{\\"uuids\\":[\\"1a013a4ce3...\\"]}\\n"}
Couchdb.Connector.get(db_props, "_not_there_")
Couchdb.Connector.Reader.get(db_props, "_not_there_")
:error, "{\\"error\\":\\"not_found\\",\\"reason\\":\\"missing\\"}\\n"}
TODO: successful read
Couchdb.Connector.Reader.fetch_uuid(db_props)
:ok, "{\\"uuids\\":[\\"1a013a4ce3...\\"]}\\n"}
"""

alias Couchdb.Connector.UrlHelper
Expand Down

0 comments on commit 8bbb63c

Please sign in to comment.