Sha256: 2ca18b6c1ea06a87688e170bf7382b54a59f34abeee048cf64698583c06c3fd3
Contents?: true
Size: 640 Bytes
Versions: 20
Compression:
Stored size: 640 Bytes
Contents
module ForestAdminDatasourceToolkit module Schema module Relations class PolymorphicOneToOneSchema < RelationSchema attr_accessor :origin_key attr_reader :origin_key_target, :origin_type_field, :origin_type_value def initialize(origin_key:, origin_key_target:, foreign_collection:, origin_type_field:, origin_type_value:) super(foreign_collection, 'PolymorphicOneToOne') @origin_key = origin_key @origin_key_target = origin_key_target @origin_type_field = origin_type_field @origin_type_value = origin_type_value end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems