Sha256: 43b05397d74944aa22073411edbb3438fd54751610bbdc6137daaece4715f0ca
Contents?: true
Size: 415 Bytes
Versions: 6
Compression:
Stored size: 415 Bytes
Contents
require 'scaptimony/asset' module ForemanOpenscap module HostgroupExtensions extend ActiveSupport::Concern included do has_one :asset, :as => :assetable, :class_name => "::Scaptimony::Asset" has_many :asset_policies, :through => :asset, :class_name => "::Scaptimony::AssetPolicy" has_many :policies, :through => :asset_policies, :class_name => "::Scaptimony::Policy" end end end
Version data entries
6 entries across 6 versions & 1 rubygems