sanger/sequencescape

View on GitHub
app/models/asset_group_asset.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
# Join table between an {Asset} and an {AssetGroup}
class AssetGroupAsset < ApplicationRecord
  belongs_to :asset, class_name: 'Receptacle', inverse_of: :asset_group_assets
  belongs_to :asset_group, inverse_of: :asset_group_assets
end