lib/spark_api/request.rb in spark_api-1.4.26 vs lib/spark_api/request.rb in spark_api-1.4.27
- old
+ new
@@ -64,10 +64,11 @@
attempts = 0
begin
request_opts = {}
request_opts.merge!(options)
request_path = if middleware && middleware.to_sym == :reso_api
- "/Reso/OData#{path}"
+ dd_version = "Dictionary/#{dictionary_version}/" unless dictionary_version.nil?
+ "/Reso/#{dd_version}OData#{path}"
else
"/#{version}#{path}"
end
start_time = Time.now
if [:get, :delete, :head].include?(method.to_sym)