Shapt v0.0.1 Shapt.Adapters.Env View Source

Link to this section Summary

Functions

Verifies if a given toggle is enabled true of false. It receives the name of the toggle and the options set when you configure it. The available options are defined by the Adapter, the only exception is the deadline option.

Produces the template outputed by Mix.Tasks.Shapt.Template. It receives the toggles keywordlist and returns the binary representing the template.

Link to this section Functions

Verifies if a given toggle is enabled true of false. It receives the name of the toggle and the options set when you configure it. The available options are defined by the Adapter, the only exception is the deadline option.

Callback implementation for Shapt.Adapter.enabled?/2.

Produces the template outputed by Mix.Tasks.Shapt.Template. It receives the toggles keywordlist and returns the binary representing the template.

Callback implementation for Shapt.Adapter.template/1.