Method: DocuSign_Maestro::ApiClient#build_request_url
- Defined in:
- lib/docusign_maestro/client/api_client.rb
#build_request_url(path, opts) ⇒ Object
260 261 262 263 264 265 |
# File 'lib/docusign_maestro/client/api_client.rb', line 260 def build_request_url(path, opts) # Add leading and trailing slashes to path path = "/#{path}".gsub(/\/+/, '/') return Addressable::URI.encode("https://" + self.get_oauth_base_path + path) if opts[:oauth] Addressable::URI.encode(@config.base_url + path) end |