Yggdrasil.Adapter.__using__
You're seeing just the macro
__using__
, go back to Yggdrasil.Adapter module for more information.
Macro for using Yggdrasil.Adapter
.
The following are the available options:
:name
- Name of the adapter. Must be an atom.:transformer
- Default transformer module or alias. Defaults to:default
:backend
- Default backend module or alias. Defaults to:default
.:subscriber
- Subscriber module. Defaults toYggdrasil.Subscriber.Adapter.<NAME>
where<NAME>
is the last part of the current module name e.g. the<NAME>
forYggdrasil.MyAdapter
would beMyAdapter
. If the module does not exist, then defaults to:elixir
.:publisher
- Publisher module. Defaults toYggdrasil.Publisher.Adapter.<NAME>
where<NAME>
is the last part of the current module name e.g. the<NAME>
forYggdrasil.MyAdapter
would beMyAdapter
. If the module does not exist, then defaults to:elixir
.