Class: Avro::Builder::Types::EnumType
- Inherits:
-
NamedType
- Object
- Type
- ComplexType
- NamedType
- Avro::Builder::Types::EnumType
- Defined in:
- lib/avro/builder/types/enum_type.rb
Direct Known Subclasses
Constant Summary
Constants included from DslAttributes
DslAttributes::ATTRIBUTE_NAMES
Instance Attribute Summary
Attributes inherited from Type
Instance Method Summary collapse
Methods inherited from NamedType
#cache!, #name, #name_fragment, #namespace, #serialize, #to_h
Methods included from NamedErrorHandling
Methods included from Aliasable
Methods included from Namespaceable
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
Methods included from DslOptions
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
19 20 21 22 23 |
# File 'lib/avro/builder/types/enum_type.rb', line 19 def validate! super validate_required_attribute!(:symbols) validate_enum_default! end |