Module: Api::V2::ScapApiControllerExtensions

Extended by:
ActiveSupport::Concern
Defined in:
app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb

Instance Method Summary collapse

Instance Method Details

#resource_class_for(resource) ⇒ Object



5
6
7
# File 'app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb', line 5

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