Class: Lcms::Engine::SearchInteractor
- Inherits:
-
BaseInteractor
- Object
- BaseInteractor
- Lcms::Engine::SearchInteractor
- Defined in:
- app/interactors/lcms/engine/search_interactor.rb
Instance Attribute Summary collapse
-
#props ⇒ Object
readonly
Returns the value of attribute props.
Attributes inherited from BaseInteractor
Instance Method Summary collapse
Methods inherited from BaseInteractor
Constructor Details
This class inherits a constructor from Lcms::Engine::BaseInteractor
Instance Attribute Details
#props ⇒ Object (readonly)
Returns the value of attribute props.
6 7 8 |
# File 'app/interactors/lcms/engine/search_interactor.rb', line 6 def props @props end |
Instance Method Details
#run ⇒ Object
8 9 10 |
# File 'app/interactors/lcms/engine/search_interactor.rb', line 8 def run @props = pagination.serialize(documents, serializer).merge(.props) end |