Sha256: b7d27606407a4f16a5b4072cc6a6d0142fc89e9e8c90bad6a15ae87c006c5687

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class Sequence < Struct
      attribute :members, Types::Strict::Array.of(Types::Strict::String).default([].freeze)
      # The direction that a sequence of canvases should be displayed to the user
      attribute? :viewingDirection, Types::Strict::String.enum('right-to-left', 'left-to-right')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.79.0 lib/cocina/models/sequence.rb
cocina-models-0.78.0 lib/cocina/models/sequence.rb
cocina-models-0.77.0 lib/cocina/models/sequence.rb
cocina-models-0.76.0 lib/cocina/models/sequence.rb