Sha256: 9571c30cb532328aea31d84fb1dd8fa51fe18e8b19ec8299e3c7b3f9aa0e8b46

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

class RESO::Lookup::AreaSource < RESO::Enumeration
  has_many :area_source_assignments, foreign_key: :enumeration_id
  has_many :reso_property_farming, through: :area_source_assignments, source: :enumerable, source_type: "RESO::Property::Farming"
  has_many :reso_property_rooms, through: :area_source_assignments, source: :enumerable, source_type: "RESO::PropertyRoom"
  has_many :reso_property_structure, through: :area_source_assignments, source: :enumerable, source_type: "RESO::Property::Structure"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reso-0.2.2 lib/reso/app/models/reso/lookup/area_source.rb