ManageIQ/manageiq

View on GitHub
app/models/physical_disk.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class PhysicalDisk < ApplicationRecord
  belongs_to :physical_storage, :foreign_key => :physical_storage_id, :inverse_of => :physical_disks
  belongs_to :canister, :foreign_key => :canister_id, :inverse_of => :physical_disks

  acts_as_miq_taggable
end