lib/meibo/japan_profile/classroom.rb in meibo-0.1.0 vs lib/meibo/japan_profile/classroom.rb in meibo-0.2.0

- old
+ new

@@ -1,12 +1,14 @@ # frozen_string_literal: true module Meibo - module JapanProfile + class JapanProfile < ::Meibo::Profile class Classroom < ::Meibo::Classroom DataModel.define( self, - attribute_name_to_header_field_map: superclass.attribute_name_to_header_field_map.merge(special_needs: 'metadata.jp.specialNeeds').freeze, + attribute_name_to_header_field_map: superclass.attribute_name_to_header_field_map.merge( + special_needs: 'metadata.jp.specialNeeds' + ).freeze, converters: superclass.converters.merge( boolean: [:special_needs].freeze, enum: { class_type: TYPES.values.freeze }.freeze ).freeze )