diff options
author | Hadrien <26697460+ketsapiwiq@users.noreply.github.com> | 2020-10-19 17:08:54 +0200 |
---|---|---|
committer | Hadrien <26697460+ketsapiwiq@users.noreply.github.com> | 2020-10-23 23:06:40 +0200 |
commit | 561303492cb13e0f9504d6b26fe5d3752e89c4bd (patch) | |
tree | 0320d98deccc20718b15cb46535f5d1db6dc2222 | |
parent | Merge branch 'controller_tests' into 'master' (diff) |
little edits on docs phrasing
-rw-r--r-- | lib/matrix_app_service.ex | 2 | ||||
-rw-r--r-- | lib/matrix_app_service/adapter/room.ex | 3 | ||||
-rw-r--r-- | lib/matrix_app_service/adapter/user.ex | 3 | ||||
-rw-r--r-- | lib/matrix_app_service/client.ex | 3 |
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 |