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.
221 222 223 |
# File 'lib/katello_api/resources/system.rb', line 221 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.
119 120 121 |
# File 'lib/katello_api/resources/system.rb', line 119 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.
100 101 102 |
# File 'lib/katello_api/resources/system.rb', line 100 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.
50 51 52 |
# File 'lib/katello_api/resources/system.rb', line 50 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#destroy(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
109 110 111 |
# File 'lib/katello_api/resources/system.rb', line 109 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#enabled_repos(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
233 234 235 |
# File 'lib/katello_api/resources/system.rb', line 233 def enabled_repos(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#errata(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
156 157 158 |
# File 'lib/katello_api/resources/system.rb', line 156 def errata(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#index(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
26 27 28 |
# File 'lib/katello_api/resources/system.rb', line 26 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#package_profile(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
138 139 140 |
# File 'lib/katello_api/resources/system.rb', line 138 def package_profile(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#pools(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
187 188 189 |
# File 'lib/katello_api/resources/system.rb', line 187 def pools(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#refresh_subscriptions(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
147 148 149 |
# File 'lib/katello_api/resources/system.rb', line 147 def refresh_subscriptions(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#releases(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
196 197 198 |
# File 'lib/katello_api/resources/system.rb', line 196 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.
129 130 131 |
# File 'lib/katello_api/resources/system.rb', line 129 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.
175 176 177 |
# File 'lib/katello_api/resources/system.rb', line 175 def report(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#show(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
82 83 84 |
# File 'lib/katello_api/resources/system.rb', line 82 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#tasks(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
165 166 167 |
# File 'lib/katello_api/resources/system.rb', line 165 def tasks(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
73 74 75 |
# File 'lib/katello_api/resources/system.rb', line 73 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |