Class: Avro::Builder::Types::ArrayType

Inherits:
ComplexType show all
Includes:
TypeReferencer
Defined in:
lib/avro/builder/types/array_type.rb

Constant Summary

Constants included from Avro::Builder::TypeFactory

Avro::Builder::TypeFactory::BUILTIN_TYPES, Avro::Builder::TypeFactory::COMPLEX_TYPES, Avro::Builder::TypeFactory::NAMED_TYPES

Constants included from DslAttributes

DslAttributes::ATTRIBUTE_NAMES

Instance Attribute Summary

Attributes inherited from Type

#avro_type_name

Instance Method Summary collapse

Methods inherited from ComplexType

avro_type_name, #initialize, #namespace

Methods inherited from Type

#abstract?, #cache!, #configure_options, #dsl_method?, #dsl_respond_to?, #initialize, #namespace, #serialize, #to_h, union_with_null

Methods included from Metadata

attribute?, #method_missing, register, reset!, #respond_to_missing?

Methods included from DslAttributes

#dsl_attribute?, included

Methods included from DslOptions

#dsl_option?, included

Constructor Details

This class inherits a constructor from Avro::Builder::Types::ComplexType

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Avro::Builder::Metadata

Instance Method Details

#validate! ⇒ Object



17
18
19
# File 'lib/avro/builder/types/array_type.rb', line 17

def validate!
  validate_required_attribute!(:items)
end