lib/agnostic_backend/cloudsearch/indexer.rb in agnostic_backend-1.0.2 vs lib/agnostic_backend/cloudsearch/indexer.rb in agnostic_backend-1.0.3
- old
+ new
@@ -20,11 +20,10 @@
"id" => document_id}
end
publish_all(documents)
end
- private
def publish(document)
publish_all([document])
end
@@ -37,9 +36,11 @@
documents: payload,
content_type:'application/json'
)
end
end
+
+ private
def client
index.cloudsearch_domain_client
end