Method: Elasticsearch::Resources::Document#update
- Defined in:
- lib/elasticsearch/resources/document.rb
#update(options = {}) ⇒ Object
46 47 48 49 50 51 52 |
# File 'lib/elasticsearch/resources/document.rb', line 46 def update( = {}) params = { body: attributes }.merge() query(:update, params) end |