lib/proxes/request/cat.rb in proxes-0.7.1 vs lib/proxes/request/cat.rb in proxes-0.8.0

- old
+ new

@@ -9,11 +9,11 @@ attr_reader :index, :type def index=(idx) @index = idx self.path_info = '/' + [endpoint, type, index].compact - .map { |v| v.is_a?(Array) ? v.join(',') : v } - .select { |v| !v.nil? && v != '' }.join('/') + .map { |v| v.is_a?(Array) ? v.join(',') : v } + .select { |v| !v.nil? && v != '' }.join('/') end def endpoint '_cat' end