app/services/alerts/adapters/system_adapter.rb
module Alerts
module Adapters
class SystemAdapter < Adapter
def report
alert_class.new(school: @school, aggregate_school: @aggregate_school, alert_type: @alert_type, today: Time.zone.today).report
end
def content(_user_type = nil)
[]
end
def benchmark_dates
[]
end
def has_structured_content?
false
end
def structured_content
[]
end
end
end
end