lib/postmon_ruby/finders/finder.rb in postmon_ruby-2.1.3 vs lib/postmon_ruby/finders/finder.rb in postmon_ruby-3.0.0
- old
+ new
@@ -15,10 +15,10 @@
raise ArgumentError.new("wrong number of arguments (#{arguments.size} for #{finder.arguments_size})") if finder.arguments_size != arguments.size
finder.search(arguments)
end
def arguments_uri(arguments)
- URI::encode("#{ENDPOINT}/#{self.endpoint}/#{arguments.join("/")}")
+ URI(URI::encode("#{ENDPOINT}/#{self.endpoint}/#{arguments.join("/")}"))
end
end
end
end
\ No newline at end of file