Example taken from chapter1 of the book by Paul Dix (2011). Service-Oriented Design With Ruby and Rails.  Boston: Addison-Wesley.