lib/apidiesel/api.rb in apidiesel-0.1.1 vs lib/apidiesel/api.rb in apidiesel-0.1.2

- old
+ new

@@ -53,10 +53,10 @@ # Falls back to the Api setting if blank. # # @param [String] value def url(base_url = nil) if base_url - config[:url] = base_url + config[:url] = URI.parse(base_url) else config[:url] end end