Maxwell.Builder (maxwell v2.4.0) View Source
Conveniences for building maxwell.
This module can be use
-d into a module in order to build.
Maxwell.Builder
also imports the Maxwell.Conn
module, making functions like
get_*
/put_*
available.
Options
When used, the following options are accepted by Maxwell.Builder
:
~w(get)a
- only createget/1
andget!/1
functions,
default is ~w(get head delete trace options post put patch)a
Examples
use Maxwell.Builder
use Maxwell.Builder, ~w(get put)a
use Maxwell.Builder, ["get", "put"]
use Maxwell.Builder, [:get, :put]