Class: Lcms::Engine::FindLessonsInteractor
- Inherits:
-
BaseInteractor
- Object
- BaseInteractor
- Lcms::Engine::FindLessonsInteractor
- Defined in:
- app/interactors/lcms/engine/find_lessons_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/find_lessons_interactor.rb', line 6 def props @props end |
Instance Method Details
#run ⇒ Object
8 9 10 |
# File 'app/interactors/lcms/engine/find_lessons_interactor.rb', line 8 def run @props = pagination.serialize(lessons, serializer).merge(.props) end |