class DashOverlord::UseCases::V1::Clients::Show::Base
Public Instance Methods
final()
click to toggle source
# File lib/dash_overlord/use_cases/v1/clients/show/base.rb, line 13 def final context.data = Serializers::V1::Clients::Show.to_hash \ context, status.ok? ? :client : false end
perform()
click to toggle source
# File lib/dash_overlord/use_cases/v1/clients/show/base.rb, line 8 def perform invoke! Admins::FindCurrentAdmin invoke! FindClient end