zigotto/googl — pull request #9 by dfucci (2014-12-03 14:28:54+00:00)
Title: Refactored url-related activities in the Googl::Url class

Hi,
I noticed that Googl.expand/shorten deal with checking whether a url is valid or not. I think that's a code smell that might violate the single responsibility principle.
I have refactored the validity check of the string representing the url in the Url class. So far it does only that but later could contain other url-related responsibilities.