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