Class: KatelloApi::Resources::User
- Defined in:
- lib/katello_api/resources/user.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#add_role(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.
-
#index(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#list_roles(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_role(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#show(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#sync_ldap_roles(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/user.rb', line 4 def self.doc @doc ||= KatelloApi.doc['resources']["users"] end |
Instance Method Details
#add_role(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
90 91 92 |
# File 'lib/katello_api/resources/user.rb', line 90 def add_role(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#create(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
39 40 41 |
# File 'lib/katello_api/resources/user.rb', line 39 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#destroy(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
63 64 65 |
# File 'lib/katello_api/resources/user.rb', line 63 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#index(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
15 16 17 |
# File 'lib/katello_api/resources/user.rb', line 15 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#list_roles(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
72 73 74 |
# File 'lib/katello_api/resources/user.rb', line 72 def list_roles(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_role(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
100 101 102 |
# File 'lib/katello_api/resources/user.rb', line 100 def remove_role(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#show(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
24 25 26 |
# File 'lib/katello_api/resources/user.rb', line 24 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#sync_ldap_roles(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
80 81 82 |
# File 'lib/katello_api/resources/user.rb', line 80 def sync_ldap_roles(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
54 55 56 |
# File 'lib/katello_api/resources/user.rb', line 54 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |