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
13 14 15 |
# File 'lib/avro/builder/types/named_error_handling.rb', line 13 def type_name(_value) name_attribute_error! end |
#type_namespace(_value) ⇒ Object
17 18 19 |
# File 'lib/avro/builder/types/named_error_handling.rb', line 17 def type_namespace(_value) namespace_attribute_error! end |