Method: EilamTest::ApiClient#build_request_url
- Defined in:
- lib/eilam_test/api_client.rb
#build_request_url(path, opts = {}) ⇒ Object
293 294 295 296 297 |
# File 'lib/eilam_test/api_client.rb', line 293 def build_request_url(path, opts = {}) # Add leading and trailing slashes to path path = "/#{path}".gsub(/\/+/, '/') @config.base_url(opts[:operation]) + path end |