Sha256: 8ffeab870d5b934959c8126f974d7f801c248b9354c85469176e497e8e3e0a31
Contents?: true
Size: 689 Bytes
Versions: 8
Compression:
Stored size: 689 Bytes
Contents
# frozen_string_literal: true module Meibo module JapanProfile 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, converters: superclass.converters.merge( boolean: [:special_needs].freeze, enum: { class_type: TYPES.values.freeze }.freeze, mext_grade_code: [:grades].freeze ).freeze ) def initialize(special_needs: nil, **other_fields) super(**other_fields) @special_needs = special_needs end end end end
Version data entries
8 entries across 8 versions & 1 rubygems