Class: Lcms::Engine::FindLessonsInteractor

Inherits:
BaseInteractor show all
Defined in:
app/interactors/lcms/engine/find_lessons_interactor.rb

Instance Attribute Summary collapse

Attributes inherited from BaseInteractor

#error

Instance Method Summary collapse

Methods inherited from BaseInteractor

call, #initialize, #success?

Constructor Details

This class inherits a constructor from Lcms::Engine::BaseInteractor

Instance Attribute Details

#propsObject (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

#runObject



8
9
10
# File 'app/interactors/lcms/engine/find_lessons_interactor.rb', line 8

def run
  @props = pagination.serialize(lessons, serializer).merge(filterbar.props)
end