Sha256: 3b4747ed107412b2c5573a717393fb267d20c3ffd4e2e94392328146a0675390

Contents?: true

Size: 349 Bytes

Versions: 53

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class AccessRoleMember < Struct
      include Checkable

      TYPES = %w[sunetid
                 workgroup].freeze

      # Name of role
      attribute :type, Types::Strict::String.enum(*AccessRoleMember::TYPES)
      attribute :identifier, Types::Strict::String
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
cocina-models-0.79.0 lib/cocina/models/access_role_member.rb
cocina-models-0.78.0 lib/cocina/models/access_role_member.rb
cocina-models-0.77.0 lib/cocina/models/access_role_member.rb
cocina-models-0.76.0 lib/cocina/models/access_role_member.rb
cocina-models-0.75.0 lib/cocina/models/access_role_member.rb
cocina-models-0.74.1 lib/cocina/models/access_role_member.rb
cocina-models-0.74.0 lib/cocina/models/access_role_member.rb
cocina-models-0.73.6 lib/cocina/models/access_role_member.rb
cocina-models-0.73.5 lib/cocina/models/access_role_member.rb
cocina-models-0.73.4 lib/cocina/models/access_role_member.rb
cocina-models-0.73.3 lib/cocina/models/access_role_member.rb
cocina-models-0.73.2 lib/cocina/models/access_role_member.rb
cocina-models-0.73.1 lib/cocina/models/access_role_member.rb
cocina-models-0.73.0 lib/cocina/models/access_role_member.rb
cocina-models-0.72.0 lib/cocina/models/access_role_member.rb
cocina-models-0.71.0 lib/cocina/models/access_role_member.rb
cocina-models-0.70.0 lib/cocina/models/access_role_member.rb
cocina-models-0.69.2 lib/cocina/models/access_role_member.rb
cocina-models-0.69.1 lib/cocina/models/access_role_member.rb
cocina-models-0.69.0 lib/cocina/models/access_role_member.rb