# frozen_string_literal: true

# app/serializers/charm_serializer.rb
class CharmSerializer < ActiveModel::Serializer
  attributes :id, :character_id, :type, :name, :cost, :timing, :duration,
             :keywords, :min_essence, :body, :ref
end

# frozen_string_literal: true

# app/serializers/charm_serializer.rb
class CharmSerializer < ActiveModel::Serializer
  attributes :id, :character_id, :type, :name, :cost, :timing, :duration,
             :keywords, :min_essence, :prereqs, :body, :ref
end

Add prereqs field to Charm serializer
Add prereqs field to Charm serializer
