Module: Avro::Builder::Types::NamedErrorHandling
- Included in:
- NamedType
- Defined in:
- lib/avro/builder/types/named_error_handling.rb
Overview
This concern provides error handling for attributes related to naming that are handled differently at the top-level vs inline.
Instance Method Summary collapse
-
#type_name(_value) ⇒ Object
Errors for attributes specified via block.
- #type_namespace(_value) ⇒ Object
Instance Method Details
#type_name(_value) ⇒ Object
Errors for attributes specified via block
11 12 13 |
# File 'lib/avro/builder/types/named_error_handling.rb', line 11 def type_name(_value) name_attribute_error! end |
#type_namespace(_value) ⇒ Object
15 16 17 |
# File 'lib/avro/builder/types/named_error_handling.rb', line 15 def type_namespace(_value) namespace_attribute_error! end |