abstract class CA::Service(Request, Result)
- CA::Service(Request, Result)
- Reference
- Object
Defined in:
clean-architectures/service.crInstance Method Summary
-
#assert(assertion, body : String | ErrorBody, status : HTTP::Status)
Validation step
- #call(request : Request)
- #error(body : String | ErrorBody, status : HTTP::Status)
- #execute(request : Request)
- #ok
-
#success(value : Result)
Execute step
- #validate(request : Request)
Instance Method Detail
Validation step