Sha256: 911de754055ad7ba31eaf737924dd881c7e6cb99c408dcf46f05d80f7ddc900c

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

class RESO::Lookup::ImageOf < RESO::Enumeration
  has_one :image_of_assignments, foreign_key: :enumeration_id
  has_one :reso_media, through: :image_of_assignment, source: :enumerable, source_type: "RESO::Media"
end

Version data entries

1 entries across 1 versions & 1 rubygems

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