summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHadrien <26697460+ketsapiwiq@users.noreply.github.com>2020-10-19 17:08:54 +0200
committerHadrien <26697460+ketsapiwiq@users.noreply.github.com>2020-10-23 23:06:40 +0200
commit561303492cb13e0f9504d6b26fe5d3752e89c4bd (patch)
tree0320d98deccc20718b15cb46535f5d1db6dc2222
parentMerge branch 'controller_tests' into 'master' (diff)
little edits on docs phrasing
-rw-r--r--lib/matrix_app_service.ex2
-rw-r--r--lib/matrix_app_service/adapter/room.ex3
-rw-r--r--lib/matrix_app_service/adapter/user.ex3
-rw-r--r--lib/matrix_app_service/client.ex3
4 files changed, 4 insertions, 7 deletions
diff --git a/lib/matrix_app_service.ex b/lib/matrix_app_service.ex
index 289d276..424ff2d 100644
--- a/lib/matrix_app_service.ex
+++ b/lib/matrix_app_service.ex
@@ -27,7 +27,7 @@ defmodule MatrixAppService do
### Write adapters
- Create one or multiple modules that implements the following modules:
+ Create one or multiple modules that implement the following modules:
`MatrixAppService.Adapter.Room`, `MatrixAppService.Adapter.User`,
`MatrixAppService.Adapter.Transaction`.
diff --git a/lib/matrix_app_service/adapter/room.ex b/lib/matrix_app_service/adapter/room.ex
index 1601094..14f04cb 100644
--- a/lib/matrix_app_service/adapter/room.ex
+++ b/lib/matrix_app_service/adapter/room.ex
@@ -1,7 +1,6 @@
defmodule MatrixAppService.Adapter.Room do
@moduledoc """
- Behaviour for a module that handles rooms that the application service has
- reserved.
+ Behaviour for a module that handles rooms reserved by the application service.
"""
@doc """
diff --git a/lib/matrix_app_service/adapter/user.ex b/lib/matrix_app_service/adapter/user.ex
index cd3c2aa..e397a11 100644
--- a/lib/matrix_app_service/adapter/user.ex
+++ b/lib/matrix_app_service/adapter/user.ex
@@ -1,7 +1,6 @@
defmodule MatrixAppService.Adapter.User do
@moduledoc """
- Behaviour for a module that handles users that the application service has
- reserved.
+ Behaviour for a module that handles rooms reserved by the application service.
"""
@doc """
diff --git a/lib/matrix_app_service/client.ex b/lib/matrix_app_service/client.ex
index c32cf00..42ef758 100644
--- a/lib/matrix_app_service/client.ex
+++ b/lib/matrix_app_service/client.ex
@@ -11,8 +11,7 @@ defmodule MatrixAppService.Client do
@doc """
Returns a client for the application service.
- The client gets its homeserver URL and access token from configuration, by
- default.
+ By default, the client gets its homeserver URL and access token from configuration.
Different options can be provided to override the defaults, those are:
* `:base_url`: homerver URL