Sha256: ca5487de32c0cfe3a6e559a2519844de03209c372595e4fde2afac7d6385e0e5
Contents?: true
Size: 377 Bytes
Versions: 14
Compression:
Stored size: 377 Bytes
Contents
# frozen_string_literal: true module Alchemy class ContentSerializer < ActiveModel::Serializer self.root = false 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
14 entries across 14 versions & 1 rubygems