Method: PulpRpmClient::PublicationsRpmApi#add_role

Defined in:
lib/pulp_rpm_client/api/publications_rpm_api.rb

#add_role(rpm_rpm_publication_href, nested_role, opts = {}) ⇒ NestedRoleResponse

Add a role Add a role for this object to users/groups.

Parameters:

  • rpm_rpm_publication_href (String)
  • nested_role (NestedRole)
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



28
29
30
31
# File 'lib/pulp_rpm_client/api/publications_rpm_api.rb', line 28

def add_role(rpm_rpm_publication_href, nested_role, opts = {})
  data, _status_code, _headers = add_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
  data
end