Class: Lcms::Engine::EnhanceInstructionInteractor
- Inherits:
-
BaseInteractor
- Object
- BaseInteractor
- Lcms::Engine::EnhanceInstructionInteractor
- Defined in:
- app/interactors/lcms/engine/enhance_instruction_interactor.rb
Constant Summary collapse
- TAB_INDEX =
%i(instructions videos generic).freeze
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.
8 9 10 |
# File 'app/interactors/lcms/engine/enhance_instruction_interactor.rb', line 8 def props @props end |
Instance Method Details
#run ⇒ Object
10 11 12 13 14 |
# File 'app/interactors/lcms/engine/enhance_instruction_interactor.rb', line 10 def run @props = pagination.serialize(data, serializer) @props.merge!(.props) @props.merge!(tab: active_tab) end |