Sha256: a2b8209a03e70b194bf083d5ffd043ce3ad3132523b708cb53a8ac9df6359ba5
Contents?: true
Size: 642 Bytes
Versions: 20
Compression:
Stored size: 642 Bytes
Contents
module ForestAdminDatasourceToolkit module Schema module Relations class PolymorphicOneToManySchema < 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, 'PolymorphicOneToMany') @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