Method: PureCloud::Configuration#base_url
- Defined in:
- lib/purecloud/configuration.rb
#base_url ⇒ Object
137 138 139 140 |
# File 'lib/purecloud/configuration.rb', line 137 def base_url url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') URI.encode(url) end |