Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Kazarma
MatrixAppService.ex
Commits
edf8458e
Commit
edf8458e
authored
Oct 24, 2020
by
Pierre de Lacroix
Browse files
Merge branch 'docs-review' into 'master'
Docs review See merge request
!7
parents
4c0fb5e1
56130349
Pipeline
#207071114
passed with stages
in 5 minutes and 23 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
lib/matrix_app_service.ex
lib/matrix_app_service.ex
+1
-1
lib/matrix_app_service/adapter/room.ex
lib/matrix_app_service/adapter/room.ex
+1
-2
lib/matrix_app_service/adapter/user.ex
lib/matrix_app_service/adapter/user.ex
+1
-2
lib/matrix_app_service/client.ex
lib/matrix_app_service/client.ex
+1
-2
No files found.
lib/matrix_app_service.ex
View file @
edf8458e
...
...
@@ -27,7 +27,7 @@ defmodule MatrixAppService do
### Write adapters
Create one or multiple modules that implement
s
the following modules:
Create one or multiple modules that implement the following modules:
`MatrixAppService.Adapter.Room`, `MatrixAppService.Adapter.User`,
`MatrixAppService.Adapter.Transaction`.
...
...
lib/matrix_app_service/adapter/room.ex
View file @
edf8458e
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
"""
...
...
lib/matrix_app_service/adapter/user.ex
View file @
edf8458e
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
"""
...
...
lib/matrix_app_service/client.ex
View file @
edf8458e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment