Sha256: 757e0e1d319065a8cb4f68d13c8e8da0271a8ffb6f68f560528b6ce3f64898d8

Contents?: true

Size: 467 Bytes

Versions: 10

Compression:

Stored size: 467 Bytes

Contents

# frozen_string_literal: true

module Meibo
  module JapanProfile
    class Organization < ::Meibo::Organization
      TYPES = {
        district: "district",
        school: "school"
      }.freeze

      DataModel.define(
        self,
        attribute_name_to_header_field_map: superclass.attribute_name_to_header_field_map,
        converters: superclass.converters.merge(
          enum: { type: TYPES.values.freeze }
        ).freeze
      )
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
meibo-0.27.1 lib/meibo/japan_profile/organization.rb
meibo-0.27.0 lib/meibo/japan_profile/organization.rb
meibo-0.26.0 lib/meibo/japan_profile/organization.rb
meibo-0.25.3 lib/meibo/japan_profile/organization.rb
meibo-0.25.2 lib/meibo/japan_profile/organization.rb
meibo-0.25.1 lib/meibo/japan_profile/organization.rb
meibo-0.25.0 lib/meibo/japan_profile/organization.rb
meibo-0.24.0 lib/meibo/japan_profile/organization.rb
meibo-0.23.0 lib/meibo/japan_profile/organization.rb
meibo-0.22.0 lib/meibo/japan_profile/organization.rb