An example for Rails 4 with SettingsLogic and Google Shorten URL service.