Module: Avro::Builder::Types::ComplexType::ClassMethods

Defined in:
lib/avro/builder/types/complex_type.rb

Instance Method Summary collapse

Instance Method Details

#avro_type_nameObject

Infer avro_type_name based on class


36
37
38
# File 'lib/avro/builder/types/complex_type.rb', line 36

def avro_type_name
  @avro_type_name ||= name.split('::').last.sub('Type', '').downcase.to_sym
end