lib/proxes/request/search.rb in proxes-0.4.3 vs lib/proxes/request/search.rb in proxes-0.4.4
- old
+ new
@@ -5,10 +5,9 @@
module ProxES
class Request
class Search < Request
attr_reader :index, :type
- attr_reader :type
def index=(idx)
@index = idx
self.path_info = '/' + [index, type, id, endpoint]
.map { |v| v.is_a?(Array) ? v.join(',') : v }