Module: Legion::Extensions::ElasticAppSearch::Runners::Curations
- Includes:
- Helpers::Client, Helpers::Lex
- Defined in:
- lib/legion/extensions/elastic_app_search/runners/curations.rb
Instance Method Summary collapse
- #create(engine:, **opts) ⇒ Object
- #destroy(engine:, curation:, **opts) ⇒ Object
- #get(engine:, curation:, **opts) ⇒ Object
- #list(engine:, **opts) ⇒ Object
- #update(engine:, curation:, **opts) ⇒ Object
Methods included from Helpers::Client
Instance Method Details
#create(engine:, **opts) ⇒ Object
8 9 10 |
# File 'lib/legion/extensions/elastic_app_search/runners/curations.rb', line 8 def create(engine:, **opts) client(opts).create_curation(engine, opts) end |
#destroy(engine:, curation:, **opts) ⇒ Object
24 25 26 |
# File 'lib/legion/extensions/elastic_app_search/runners/curations.rb', line 24 def destroy(engine:, curation:, **opts) client(opts).destroy_curation(engine, curation) end |
#get(engine:, curation:, **opts) ⇒ Object
12 13 14 |
# File 'lib/legion/extensions/elastic_app_search/runners/curations.rb', line 12 def get(engine:, curation:, **opts) client(opts).get_curation(engine, curation) end |
#list(engine:, **opts) ⇒ Object
16 17 18 |
# File 'lib/legion/extensions/elastic_app_search/runners/curations.rb', line 16 def list(engine:, **opts) client(opts).list_curations(engine) end |
#update(engine:, curation:, **opts) ⇒ Object
20 21 22 |
# File 'lib/legion/extensions/elastic_app_search/runners/curations.rb', line 20 def update(engine:, curation:, **opts) client(opts).update_curation(engine, curation, opts) end |