rampart v1.0.1 Rampart.PolicyFinder

Summary

Types

A policy is simply a standard module. Nothing special

Functions

Attempts to find the policy that matches the module or resource specified. If no policy can be found, this function will return nil. Otherwise, the policy will be returned

Types

policy()
policy() :: module

A policy is simply a standard module. Nothing special.

Functions

find(resource)
find(module | struct) :: policy | nil

Attempts to find the policy that matches the module or resource specified. If no policy can be found, this function will return nil. Otherwise, the policy will be returned.