Putting It All Together

Put all the modules of the previous lessons together to have a complete runnable and testable application.

We'll cover the following

The main function

It’s now time to take these well-tested bits and integrate them. Fortunately for us, we care about unit tests, so we can just throw everything together quickly and consider our job done. Let’s take a look at the main functions and see how that could be done.

The email client is not implemented since it is also out of our scope for now. We’ll stick with a simple IO.puts call to stand in for the actual email client handling. We just need to package the program to be run.

Get hands-on with 1400+ tech skills courses.