Sha256: f54de98259dbb0cc13a56d9ee09ccc6909b7f1457a0584cca24d5f65f8f9e191
Contents?: true
Size: 556 Bytes
Versions: 16
Compression:
Stored size: 556 Bytes
Contents
module Avro module Builder module Types class FixedType < NamedType dsl_attribute :size def serialize(reference_state) super(reference_state, overrides: serialized_attributes) end def to_h(reference_state) super(reference_state, overrides: serialized_attributes) end def validate! super validate_required_attribute!(:size) end private def serialized_attributes { size: size } end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems