Class: KatelloApi::Resources::TemplatesContent
- Defined in:
- lib/katello_api/resources/templates_content.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#add_distribution(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#add_package(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#add_package_group(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#add_package_group_category(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#add_parameter(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#add_repo(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_distribution(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_package(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_package_group(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_package_group_category(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_parameter(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_repo(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
Methods inherited from Base
#http_call, #initialize, method_doc, #perform_call, #validate_params!, validation_hash
Constructor Details
This class inherits a constructor from KatelloApi::Base
Class Method Details
.doc ⇒ Object
4 5 6 |
# File 'lib/katello_api/resources/templates_content.rb', line 4 def self.doc @doc ||= KatelloApi.doc['resources']["templates_content"] end |
Instance Method Details
#add_distribution(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
95 96 97 |
# File 'lib/katello_api/resources/templates_content.rb', line 95 def add_distribution(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#add_package(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
14 15 16 |
# File 'lib/katello_api/resources/templates_content.rb', line 14 def add_package(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#add_package_group(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
55 56 57 |
# File 'lib/katello_api/resources/templates_content.rb', line 55 def add_package_group(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#add_package_group_category(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
75 76 77 |
# File 'lib/katello_api/resources/templates_content.rb', line 75 def add_package_group_category(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#add_parameter(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
35 36 37 |
# File 'lib/katello_api/resources/templates_content.rb', line 35 def add_parameter(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#add_repo(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
115 116 117 |
# File 'lib/katello_api/resources/templates_content.rb', line 115 def add_repo(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_distribution(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
105 106 107 |
# File 'lib/katello_api/resources/templates_content.rb', line 105 def remove_distribution(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_package(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
24 25 26 |
# File 'lib/katello_api/resources/templates_content.rb', line 24 def remove_package(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_package_group(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
65 66 67 |
# File 'lib/katello_api/resources/templates_content.rb', line 65 def remove_package_group(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_package_group_category(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
85 86 87 |
# File 'lib/katello_api/resources/templates_content.rb', line 85 def remove_package_group_category(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_parameter(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
45 46 47 |
# File 'lib/katello_api/resources/templates_content.rb', line 45 def remove_parameter(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_repo(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
125 126 127 |
# File 'lib/katello_api/resources/templates_content.rb', line 125 def remove_repo(params = {}, headers = {}) perform_call(__method__, params, headers) end |