lib/3scale/api/http_client.rb
# Helper to create a string representing a path plus a query string
Helper to create a string representing a path plus a query string
Helper to create a string representing a path plus a query string
def format_path_n_query(path, params)
        path = "#{path}.#{format}"
        path << "?#{URI.encode_www_form(params)}" unless params.nil?
        path
      end
def format_path_n_query ( path , params ) path = "#{path}.#{format}" path << "?#{URI.encode_www_form(params)}" unless params . nil? path end
Helper to create a string representing a path plus a query string
Helper to create a string representing a path plus a query string
path
<not_specific>
params
<not_specific>