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.



28
29
30
# File 'lib/avro/builder/types/top_level.rb', line 28

def type_name=(_value)
  name_attribute_error!
end

#type_namespace=(_value) ⇒ Object



32
33
34
# File 'lib/avro/builder/types/top_level.rb', line 32

def type_namespace=(_value)
  namespace_instead_of_type_namespace_error!
end