module Serega::SeregaPlugins::Root::ConfigInstanceMethods
Config methods the plugin adds to Serega::SeregaConfig
Public Instance Methods
() → RootConfig
Source
# File lib/serega/plugins/root/root.rb, line 111 def root @plugin_configs[:root] ||= RootConfig.new(opts.fetch(:root)) end
Root keys
({ one: key, many: key } value) → void
Source
# File lib/serega/plugins/root/root.rb, line 122 def root=(value) root.one = value.fetch(:one) root.many = value.fetch(:many) end
Sets the root keys from a Hash with :one and :many