Last active
October 11, 2017 21:09
-
-
Save Sihui/35f36967082b99910d336bf91f157375 to your computer and use it in GitHub Desktop.
Design Pattern: Command and Hotel Service
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
# a. We submitted our requests one by one to a concierge. | |
we.submit_request_to(concierge, 'dinner_room_service') | |
we.submit_request_to(concierge, 'laundry_service') | |
we.submit_request_to(concierge, 'travel_guide') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment