lib/signrequest_client/configuration.rb in signrequest_client-1.0.0 vs lib/signrequest_client/configuration.rb in signrequest_client-1.1.0
- old
+ new
@@ -4,11 +4,11 @@
#API for SignRequest.com
OpenAPI spec version: v1
Contact: tech-support@signrequest.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
-Swagger Codegen version: 2.3.1
+Swagger Codegen version: 2.4.8
=end
require 'uri'
@@ -168,10 +168,10 @@
end
def base_path=(base_path)
# Add leading and trailing slashes to base_path
@base_path = "/#{base_path}".gsub(/\/+/, '/')
- @base_path = "" if @base_path == "/"
+ @base_path = '' if @base_path == '/'
end
def base_url
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
URI.encode(url)