Sha256: 3c9fca0a11335dafaf525421fb1ab77ac13744fcfec29e922a868833296d6c8b
Contents?: true
Size: 296 Bytes
Versions: 14
Compression:
Stored size: 296 Bytes
Contents
# frozen_string_literal: true module Alchemy class CellSerializer < ActiveModel::Serializer self.root = false attributes :id, :name, :page_id, :created_at, :updated_at has_many :elements def elements object.elements.published end end end
Version data entries
14 entries across 14 versions & 1 rubygems