Sha256: 07f7358e1409c0b5eb328134071c9edbd8a76c8a06d879af7a15e5baa8bb4853
Contents?: true
Size: 451 Bytes
Versions: 35
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true module LinkedRails class Form class GroupSerializer < LinkedRails.serializer_parent_class attribute :label, predicate: Vocab.schema.name attribute :description, predicate: Vocab.schema.text attribute :collapsible, predicate: Vocab.form[:collapsible] attribute :hidden, predicate: Vocab.form[:hidden] has_many :fields, predicate: Vocab.form[:fields], sequence: true end end end
Version data entries
35 entries across 35 versions & 1 rubygems