Module: KatelloApi
- Defined in:
- lib/katello_api.rb,
lib/katello_api/base.rb,
lib/katello_api/version.rb,
lib/katello_api/resources/crl.rb,
lib/katello_api/resources/ping.rb,
lib/katello_api/resources/role.rb,
lib/katello_api/resources/sync.rb,
lib/katello_api/resources/task.rb,
lib/katello_api/resources/user.rb,
lib/katello_api/resources/about.rb,
lib/katello_api/resources/statu.rb,
lib/katello_api/resources/domain.rb,
lib/katello_api/resources/filter.rb,
lib/katello_api/resources/status.rb,
lib/katello_api/resources/subnet.rb,
lib/katello_api/resources/system.rb,
lib/katello_api/resources/erratum.rb,
lib/katello_api/resources/gpg_key.rb,
lib/katello_api/resources/package.rb,
lib/katello_api/resources/product.rb,
lib/katello_api/resources/provider.rb,
lib/katello_api/resources/template.rb,
lib/katello_api/resources/changeset.rb,
lib/katello_api/resources/sync_plan.rb,
lib/katello_api/resources/uebercert.rb,
lib/katello_api/resources/permission.rb,
lib/katello_api/resources/repository.rb,
lib/katello_api/resources/custom_info.rb,
lib/katello_api/resources/distributor.rb,
lib/katello_api/resources/environment.rb,
lib/katello_api/resources/filter_rule.rb,
lib/katello_api/resources/smart_proxy.rb,
lib/katello_api/resources/architecture.rb,
lib/katello_api/resources/content_view.rb,
lib/katello_api/resources/distribution.rb,
lib/katello_api/resources/organization.rb,
lib/katello_api/resources/subscription.rb,
lib/katello_api/resources/system_group.rb,
lib/katello_api/resources/puppet_module.rb,
lib/katello_api/resources/activation_key.rb,
lib/katello_api/resources/content_upload.rb,
lib/katello_api/resources/hardware_model.rb,
lib/katello_api/resources/repository_set.rb,
lib/katello_api/resources/system_erratum.rb,
lib/katello_api/resources/system_package.rb,
lib/katello_api/resources/config_template.rb,
lib/katello_api/resources/role_ldap_group.rb,
lib/katello_api/resources/compute_resource.rb,
lib/katello_api/resources/templates_content.rb,
lib/katello_api/resources/changesets_content.rb,
lib/katello_api/resources/systems_bulk_action.rb,
lib/katello_api/resources/products_bulk_action.rb,
lib/katello_api/resources/system_group_erratum.rb,
lib/katello_api/resources/system_group_package.rb,
lib/katello_api/resources/content_view_definition.rb,
lib/katello_api/resources/repositories_bulk_action.rb,
lib/katello_api/resources/organization_default_info.rb
Defined Under Namespace
Modules: Resources
Classes: Base
Constant Summary
collapse
- VERSION =
"0.0.8"
Class Method Summary
collapse
Class Method Details
.client_config ⇒ Object
8
9
10
|
# File 'lib/katello_api/base.rb', line 8
def self.client_config
@client_config ||= YAML.load_file("#{root}/katello_api/config.yml")
end
|
.doc ⇒ Object
20
21
22
23
24
|
# File 'lib/katello_api/base.rb', line 20
def self.doc
@doc ||= File.open(doc_file, 'r') do |f|
JSON.load(f.read)['docs']
end
end
|
.doc_file ⇒ Object
16
17
18
|
# File 'lib/katello_api/base.rb', line 16
def self.doc_file
"#{root}/katello_api/documentation.json"
end
|
.root ⇒ Object
12
13
14
|
# File 'lib/katello_api/base.rb', line 12
def self.root
@root ||= File.expand_path('../', File.dirname(__FILE__))
end
|