Sha256: 350db09c4977774bd9ce6dce13cdf93d0033ae82f1ac501f2e92ca0837f2f010
Contents?: true
Size: 350 Bytes
Versions: 3
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true module Avro class Schema # Returns the SHA-256 fingerprint of the Resolution Canonical Form for the # schema as an Integer def sha256_resolution_fingerprint resolution_form = ResolutionCanonicalForm.to_resolution_form(self) Digest::SHA256.hexdigest(resolution_form).to_i(16) end end end
Version data entries
3 entries across 3 versions & 1 rubygems