Sha256: c2bdfe0c5ed21aa06d5eb24aa08ea1ee12a6f7f7c65b69ad4d4d77e9f77e2f88

Contents?: true

Size: 479 Bytes

Versions: 3

Compression:

Stored size: 479 Bytes

Contents

require 'scaptimony/asset'

module ForemanOpenscap
  module HostExtensions
    extend ActiveSupport::Concern

    included do
      has_one :auditable_host, :class_name => "::Scaptimony::AuditableHost",
          :foreign_key => :host_id, :inverse_of => :host
    end

    # create or overwrite instance methods...
    def instance_method_name
    end

    module ClassMethods
      # create or overwrite class methods...
      def class_method_name
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_openscap-0.2.1 app/models/concerns/foreman_openscap/host_extensions.rb
foreman_openscap-0.2.0 app/models/concerns/foreman_openscap/host_extensions.rb
foreman_openscap-0.1.0 app/models/concerns/foreman_openscap/host_extensions.rb