lib/meibo/japan_profile/course.rb in meibo-0.23.0 vs lib/meibo/japan_profile/course.rb in meibo-0.24.0
- old
+ new
@@ -4,10 +4,10 @@
module JapanProfile
class Course < ::Meibo::Course
DataModel.define(
self,
attribute_name_to_header_field_map: superclass.attribute_name_to_header_field_map,
- converters: superclass.converters.merge(enum: { course_code: [""].freeze }.freeze)
+ converters: superclass.converters.merge(enum: { course_code: [""].freeze }.freeze, mext_grade_code: [:grades].freeze)
)
# NOTE: courseCodeは空文字固定
def initialize(course_code: "", **other_fields)
super(course_code: course_code, **other_fields)