Class: KatelloApi::Resources::System
- Defined in:
- lib/katello_api/resources/system.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#activate(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#add_system_groups(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#available_system_groups(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#create(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#destroy(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#enabled_repos(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#errata(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#index(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#package_profile(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#pools(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#refresh_subscriptions(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#releases(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_system_groups(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#report(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#show(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#tasks(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#update(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/system.rb', line 4 def self.doc @doc ||= KatelloApi.doc['resources']["systems"] end |
Instance Method Details
#activate(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
223 224 225 |
# File 'lib/katello_api/resources/system.rb', line 223 def activate(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#add_system_groups(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
121 122 123 |
# File 'lib/katello_api/resources/system.rb', line 121 def add_system_groups(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#available_system_groups(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
102 103 104 |
# File 'lib/katello_api/resources/system.rb', line 102 def available_system_groups(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#create(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
51 52 53 |
# File 'lib/katello_api/resources/system.rb', line 51 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#destroy(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
111 112 113 |
# File 'lib/katello_api/resources/system.rb', line 111 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#enabled_repos(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
235 236 237 |
# File 'lib/katello_api/resources/system.rb', line 235 def enabled_repos(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#errata(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
158 159 160 |
# File 'lib/katello_api/resources/system.rb', line 158 def errata(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#index(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
27 28 29 |
# File 'lib/katello_api/resources/system.rb', line 27 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#package_profile(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
140 141 142 |
# File 'lib/katello_api/resources/system.rb', line 140 def package_profile(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#pools(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
189 190 191 |
# File 'lib/katello_api/resources/system.rb', line 189 def pools(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#refresh_subscriptions(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
149 150 151 |
# File 'lib/katello_api/resources/system.rb', line 149 def refresh_subscriptions(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#releases(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
198 199 200 |
# File 'lib/katello_api/resources/system.rb', line 198 def releases(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_system_groups(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
131 132 133 |
# File 'lib/katello_api/resources/system.rb', line 131 def remove_system_groups(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#report(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
177 178 179 |
# File 'lib/katello_api/resources/system.rb', line 177 def report(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#show(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
83 84 85 |
# File 'lib/katello_api/resources/system.rb', line 83 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#tasks(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
167 168 169 |
# File 'lib/katello_api/resources/system.rb', line 167 def tasks(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
74 75 76 |
# File 'lib/katello_api/resources/system.rb', line 74 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |