class DashOverlord::UseCases::V1::ChartConfigs::Show::FindChartConfig

Public Instance Methods

perform() click to toggle source
# File lib/dash_overlord/use_cases/v1/chart_configs/show/find_chart_config.rb, line 8
def perform
  invoke! GetChartConfig

  return if context.chart_config.present?

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