Class: DashOverlord::UseCases::V1::Shared::LogIn::SwitchUserModelByExistingUserModel

Inherits:
Base
  • Object
show all
Defined in:
lib/dash_overlord/use_cases/v1/shared/log_in/switch_user_model_by_existing_user_model.rb

Constant Summary

Constants inherited from Base

Base::AbortError

Instance Attribute Summary

Attributes inherited from Base

#context

Instance Method Summary collapse

Methods inherited from Base

context_reader, #final, #initialize, perform, target, #target_valid?

Constructor Details

This class inherits a constructor from DashOverlord::UseCases::Base

Instance Method Details

#performObject



8
9
10
# File 'lib/dash_overlord/use_cases/v1/shared/log_in/switch_user_model_by_existing_user_model.rb', line 8

def perform
  context.user_model = context.existing_user_model
end