mastodon/app/serializers/rest/annual_report_event_serializer.rb
2024-11-05 14:40:07 +00:00

9 lines
159 B
Ruby

# frozen_string_literal: true
class REST::AnnualReportEventSerializer < ActiveModel::Serializer
attributes :year
def year
object.year.to_s
end
end