ManageIQ/manageiq

View on GitHub
app/models/windows_image.rb

Summary

Maintainability
A
0 mins
Test Coverage
B
85%
class WindowsImage < ApplicationRecord
  belongs_to :pxe_server
  belongs_to :pxe_image_type

  has_many :customization_templates, :through => :pxe_image_type

  acts_as_miq_taggable

  def self.display_name(number = 1)
    n_('Windows Image', 'Windows Images', number)
  end
end