Sha256: ac2b969d954e33d4422a087ec127e69446153f3020c22b4ea3600865dd069d41
Contents?: true
Size: 354 Bytes
Versions: 25
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true module Alchemy class ContentSerializer < ActiveModel::Serializer attributes :id, :name, :ingredient, :element_id, :position, :created_at, :updated_at, :settings has_one :essence, polymorphic: true def ingredient object.serialized_ingredient end end end
Version data entries
25 entries across 25 versions & 1 rubygems