Shapt v0.0.1 Shapt.Adapter behaviour View Source
A behaviour that defines the basic callbacks that a Shapt Adapter needs to implement. This callbacks are just the very basic behavior that an adapter might have.
Link to this section Summary
Callbacks
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 Callbacks
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.