class ForemanOpenscap::ClientConfig::Base

def all_collection_method

def all_collection_method
  "all_#{collection_method}".to_sym
end

def available?

def available?
  raise NotImplementedError
end

def collection_method

def collection_method
  constants.config_item_class_name&.pluralize&.underscore
end

def constants

def constants
  raise NotImplementedError
end

def ds_policies_param_default_value

def ds_policies_param_default_value
  '<%= @host.policies_enc %>'
end

def find_config_item(scope = config_item_class_name.constantize)

def find_config_item(scope = config_item_class_name.constantize)
  return unless scope
  return scope.find_by :name => config_item_name if scope.respond_to?(:find_by)
  # all_puppetclasses, all_ansible_roles methods return Array, not ActiveRecord::Relation
  scope.find { |item| item.name == config_item_name }
end

def inline_help

def inline_help
  {
    :text => '',
    :replace_text => '',
    :route_helper_method => nil
  }
end

def managed_overrides?

def managed_overrides?
  true
end

def type

def type
  raise NotImplementedError
end