View Source ElixirLokaliseApi.DynamicResource (ElixirLokaliseApi v3.3.0)
Dynamically adds API methods to the endpoints.
Usage example:
use ElixirLokaliseApi.DynamicResource,
import: [:find2, :all2, :create2, :delete2, :update3]
The above code equips the target module with multiple API methods that can be conveniently called:
{:ok, contributor} = ElixirLokaliseApi.Contributors.find(project_id, contributor_id)