class DashOverlord::UseCases::V1::Clients::Show::FindClient

Public Instance Methods

perform() click to toggle source
# File lib/dash_overlord/use_cases/v1/clients/show/find_client.rb, line 8
def perform
  invoke! GetClient

  return if context.client.present?

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