class DashOverlord::UseCases::V1::Users::Show::FindUser

Public Instance Methods

perform() click to toggle source
# File lib/dash_overlord/use_cases/v1/users/show/find_user.rb, line 8
def perform
  invoke! GetUser

  return if context.user.present?

  failure!(:not_found, I18n.t('v1.users.not_found'))
end