Sha256: 9340dd2b2b6d12520130ab07e4a1e24c4e0f959f59f29524bf3e00997bdd0f3a

Contents?: true

Size: 202 Bytes

Versions: 41

Compression:

Stored size: 202 Bytes

Contents

module ForemanOpenscap
  module Api::V2::ScapApiControllerExtensions
    extend ActiveSupport::Concern

    def resource_class_for(resource)
      super "foreman_openscap/#{resource}"
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-10.0.3 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-10.0.2 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-10.0.1 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-10.0.0 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-9.0.4 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-9.0.3 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-9.0.2 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-9.0.1 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-9.0.0 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-8.0.0 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-7.1.1 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-7.1.0 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-7.0.0 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-6.0.0 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-5.2.3 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-5.2.2 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-5.1.1 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-5.2.1 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb
foreman_openscap-5.2.0 app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb