Class: UiObjects::ObjectSearch
- Defined in:
- lib/question_chain/models/ui_objects/object_search.rb
Instance Attribute Summary
Attributes inherited from UiObject
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from UiObject
#change_value!, #enabled?, #initialize, #per_page, #visible?
Constructor Details
This class inherits a constructor from UiObject
Class Method Details
.attributes_for_api ⇒ Object
20 21 22 |
# File 'lib/question_chain/models/ui_objects/object_search.rb', line 20 def self.attributes_for_api %w(id name _type label position description rules ui_attributes prompt max_options object_name extra_info css_classes) end |
Instance Method Details
#options(filter, relatable_category_names = []) ⇒ Object
24 25 26 |
# File 'lib/question_chain/models/ui_objects/object_search.rb', line 24 def (filter, relatable_category_names = []) @options ||= (object_name, filter || "", relatable_category_names) end |