Sha256: e4dffc2f449bcd330ab1b14a46cc3a76ff1ee7cd81c61302506b1e6c53ca2d59
Contents?: true
Size: 385 Bytes
Versions: 17
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class MessageDigest < Struct include Checkable TYPES = %w[md5 sha1].freeze # The algorithm that was used attribute :type, Types::Strict::String.enum(*MessageDigest::TYPES) # The digest value Base64 encoded attribute :digest, Types::Strict::String end end end
Version data entries
17 entries across 17 versions & 1 rubygems