Sha256: b081227eae813c9b266e0b9bfba1e4e6ebf4613e67acf825c919d21069ce4e5b

Contents?: true

Size: 295 Bytes

Versions: 40

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    # Presentation data for the File.
    class Presentation < Struct
      # Height in pixels
      attribute? :height, Types::Strict::Integer
      # Width in pixels
      attribute? :width, Types::Strict::Integer
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
cocina-models-0.100.0 lib/cocina/models/presentation.rb
cocina-models-0.99.4 lib/cocina/models/presentation.rb
cocina-models-0.99.3 lib/cocina/models/presentation.rb
cocina-models-0.99.2 lib/cocina/models/presentation.rb
cocina-models-0.99.1 lib/cocina/models/presentation.rb
cocina-models-0.99.0 lib/cocina/models/presentation.rb
cocina-models-0.98.1 lib/cocina/models/presentation.rb
cocina-models-0.98.0 lib/cocina/models/presentation.rb
cocina-models-0.96.0 lib/cocina/models/presentation.rb
cocina-models-0.95.1 lib/cocina/models/presentation.rb
cocina-models-0.95.0 lib/cocina/models/presentation.rb
cocina-models-0.94.2 lib/cocina/models/presentation.rb
cocina-models-0.94.1 lib/cocina/models/presentation.rb
cocina-models-0.94.0 lib/cocina/models/presentation.rb
cocina-models-0.93.1 lib/cocina/models/presentation.rb
cocina-models-0.93.0 lib/cocina/models/presentation.rb
cocina-models-0.92.0 lib/cocina/models/presentation.rb
cocina-models-0.91.4 lib/cocina/models/presentation.rb
cocina-models-0.91.3 lib/cocina/models/presentation.rb
cocina-models-0.91.2 lib/cocina/models/presentation.rb