Module: Content

Defined in:
app/models/content/gpg_key.rb,
lib/content/engine.rb,
lib/content/version.rb,
lib/foreman_content.rb,
app/models/content/product.rb,
app/models/content/repository.rb,
app/models/content/content_view.rb,
app/models/content/host_product.rb,
app/helpers/content/products_helper.rb,
app/models/content/repository_clone.rb,
app/models/content/content_view_host.rb,
app/models/content/hostgroup_product.rb,
app/models/content/repository/product.rb,
app/helpers/content/application_helper.rb,
app/helpers/content/repositories_helper.rb,
app/helpers/content/content_views_helper.rb,
app/models/content/available_content_view.rb,
app/models/content/validators/name_format.rb,
app/services/content/content_view_factory.rb,
app/controllers/content/gpg_keys_controller.rb,
app/controllers/content/products_controller.rb,
app/models/content/operatingsystem_repository.rb,
app/models/content/repository/operating_system.rb,
app/controllers/content/repositories_controller.rb,
app/models/content/validators/content_validator.rb,
app/models/content/validators/no_trailing_space.rb,
app/controllers/content/content_views_controller.rb,
app/models/content/validators/description_format.rb,
app/controllers/content/api/repositories_controller.rb

Overview

Copyright 2013 Red Hat, Inc.

This software is licensed to you under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License (GPLv2) or (at your option) any later version. There is NO WARRANTY for this software, express or implied, including the implied warranties of MERCHANTABILITY, NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 along with this software; if not, see www.gnu.org/licenses/old-licenses/gpl-2.0.txt.

Defined Under Namespace

Modules: Api, ApplicationHelper, ContentViewsHelper, EnvironmentExtensions, HomeHelper, HostExtensions, HostgroupExtensions, OperatingsystemExtensions, ProductsHelper, RedhatExtensions, RepositoriesHelper, RepositoryCommon, TaxonomyExtensions, Validators Classes: AvailableContentView, ContentView, ContentViewFactory, ContentViewHost, ContentViewRepositoryClone, ContentViewsController, Engine, GpgKey, GpgKeysController, HostProduct, HostgroupProduct, OperatingsystemRepository, Product, ProductsController, RepositoriesController, Repository, RepositoryClone

Constant Summary collapse

ENGINE_NAME =
"content"
VERSION =
"0.4"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.table_name_prefixObject



44
45
46
# File 'lib/content/engine.rb', line 44

def self.table_name_prefix
  Content::ENGINE_NAME + '_'
end

Instance Method Details

#table_name_prefixObject



40
41
42
# File 'lib/content/engine.rb', line 40

def table_name_prefix
  Content::ENGINE_NAME + '_'
end

#use_relative_model_namingObject



48
49
50
# File 'lib/content/engine.rb', line 48

def use_relative_model_naming
  true
end