In this project, we'll enhance the solution to the Umbrella project by:
- Writing a class called
GmapsClientto encapsulate the logic of working with the Google Maps API. - Use the
Twilio::REST::Clientto send a text message.
There is a solution in the file called solution.rb.
-
You can run it to see how the program should behave:
ruby solution.rb -
Try it out with some rainy locations — you should be able to find some using this live radar.
-
Don't peek at the solution until you've tried things yourself.
Some handy links:
Try to send an email to the user (via Mailgun) in addition to a text message.