Shapt v0.0.2 API Reference

Modules

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.

This plug provides two endpoints

Mix Tasks

Prints help info for Shapt tasks. Doesn't accept parameters.

This task verify if the toggles of the informed Module is expired. Parameters

This task output the template of a configuration for a Module. The template type is defined by the Adapter configured in the module. Parameters