lib/hachi/clients/case.rb in hachi-0.3.1 vs lib/hachi/clients/case.rb in hachi-0.3.2
- old
+ new
@@ -69,10 +69,10 @@
# @param [Hash] attributes
# @param [String] range
#
# @return [Hash]
#
- def search(attributes, range: "all")
+ def search(range: "all", **attributes)
_search("/api/case/_search", attributes: attributes, range: range) { |json| json }
end
#
# Get list of cases linked to this case