Class: Panda::Core::SearchableConfig
- Inherits:
-
Object
- Object
- Panda::Core::SearchableConfig
- Defined in:
- app/models/concerns/panda/core/searchable.rb
Constant Summary collapse
- KEYS =
%i[fields display description path icon group].freeze
Instance Method Summary collapse
-
#initialize ⇒ SearchableConfig
constructor
A new instance of SearchableConfig.
- #to_h ⇒ Object
Constructor Details
#initialize ⇒ SearchableConfig
Returns a new instance of SearchableConfig.
47 48 49 |
# File 'app/models/concerns/panda/core/searchable.rb', line 47 def initialize @config = {} end |
Instance Method Details
#to_h ⇒ Object
61 62 63 |
# File 'app/models/concerns/panda/core/searchable.rb', line 61 def to_h @config.dup end |