def url_for(action, params={})
      params[:api_key] = api_key
      url = URI.join(base_url, "/#{version}/", action)
      url.query = URI.encode_www_form(params)
      url.to_s
    end
def url_for(action, params={})
      params[:api_key] = api_key
      url = URI.join(base_url, "/#{version}/", action)
      url.query = URI.encode_www_form(params)
      url.to_s
    end
Returns a string with a URL for one of TMDb API endpoints.
 Examples:

   Enceladus::Configuration::Api.instance.url_for("movies", { term: "Lola Benvenutti" })
   => https://api.themoviedb.org/3/movies?term=Lola+Benvenutti&api_key=token