module Legion::Extensions::ElasticAppSearch::Runners::Schemas
Public Instance Methods
get(engine:, **opts)
click to toggle source
# File lib/legion/extensions/elastic_app_search/runners/schemas.rb, line 8 def get(engine:, **opts) client(opts).get_schema(engine) end
update(engine:, field:, type:, **opts)
click to toggle source
# File lib/legion/extensions/elastic_app_search/runners/schemas.rb, line 12 def update(engine:, field:, type:, **opts) update = {} update[field.to_sym] = type client(opts).update_schema(engine, update) end