UseCase Objects in Ruby
Aug 14, 2022
Use cases contain the rules that specify how and when the Critical Business Rules within the Entities are invoked.
A use case is a description of the way that an automated system is used.
UseCase Objects exists to model a single business process. Use Case Objects are a middle layer between external actors and the system’s internals.
A Use Case Object enforces a contract for inputs and outputs. The response of the object depends on the business rules that it implements.