AuthShield v0.0.2 AuthShield.Resources.Behaviour behaviour View Source
AuthShield Resources behaviour.
Link to this section Summary
Link to this section Types
Transactional responses of failed
Resource schemas types
Transactional responses of success
Link to this section Callbacks
Link to this callback
delete(model)
View Sourcedelete(model :: resource()) :: success_response() | failed_response()
Link to this callback
insert(params)
View Sourceinsert(params :: map()) :: success_response() | failed_response()
Link to this callback
update(model, params)
View Sourceupdate(model :: resource(), params :: map()) :: success_response() | failed_response()