Sha256: b60aa2d79d5657133e2c2a3e575e69eaaa2ad45b92aa02acf9070b1d027fdac3
Contents?: true
Size: 427 Bytes
Versions: 59
Compression:
Stored size: 427 Bytes
Contents
module Metadata class Author include Mongoid::Document embedded_in :pedigree, class_name: "Metadata::Pedigree" Types = %w(authenticator authorcustodiandataEnterer informant legalAuthenticator participant performer recordTarget) field :name, type: String field :type, type: String field :role, type: String validates_inclusion_of :type, in: Types, allow_nil: true end end
Version data entries
59 entries across 59 versions & 1 rubygems