lib/meibo/japan_profile/classroom.rb in meibo-0.23.0 vs lib/meibo/japan_profile/classroom.rb in meibo-0.24.0
- old
+ new
@@ -8,10 +8,11 @@
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
+ enum: { class_type: TYPES.values.freeze }.freeze,
+ mext_grade_code: [:grades].freeze
).freeze
)
def initialize(special_needs: nil, **other_fields)
super(**other_fields)