Created
March 18, 2015 18:11
-
-
Save joaquimadraz/f05aaf3a3ddb3d3e1aa2 to your computer and use it in GitHub Desktop.
use_case_invoice_example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# USE CASE: | |
# As a user I want to finalize an Invoice and an email should be delivered to the customer. | |
class FinalizeInvoiceUseCase < UseCase::Base | |
depends FindInvoice, ValidateToFinalize, FinalizeInvoice, SendEmail | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment