annual_reports_serializer.rb 281 B

1234567
  1. # frozen_string_literal: true
  2. class REST::AnnualReportsSerializer < ActiveModel::Serializer
  3. has_many :annual_reports, serializer: REST::AnnualReportSerializer
  4. has_many :accounts, serializer: REST::AccountSerializer
  5. has_many :statuses, serializer: REST::StatusSerializer
  6. end