Module: Avro::Builder::Types::TopLevel::TopLevelErrorHandling

Included in:
Avro::Builder::Types::TopLevel
Defined in:
lib/avro/builder/types/top_level.rb

Instance Method Summary collapse

Instance Method Details

#type_name=(_value) ⇒ Object

Options disallowed for top-level types.


26
27
28
# File 'lib/avro/builder/types/top_level.rb', line 26

def type_name=(_value)
  name_attribute_error!
end

#type_namespace=(_value) ⇒ Object


30
31
32
# File 'lib/avro/builder/types/top_level.rb', line 30

def type_namespace=(_value)
  namespace_instead_of_type_namespace_error!
end