Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clarify the intent of the *_user_role methods

  • Loading branch information...
commit 7a9e83cd922614365bb05ec29af1a2fc9aedc3fd 1 parent 21e243f
Mark Maglana relaxdiego authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/fog/openstack/models/identity/tenant.rb
4 lib/fog/openstack/models/identity/tenant.rb
View
@@ -49,11 +49,11 @@ def create
self
end
- def add_user_role(user_id, role_id)
+ def grant_user_role(user_id, role_id)
connection.add_user_to_tenant(self.id, user_id, role_id)
end
- def remove_user_role(user_id, role_id)
+ def revoke_user_role(user_id, role_id)
connection.remove_user_from_tenant(self.id, user_id, role_id)
end
end # class Tenant
Please sign in to comment.
Something went wrong with that request. Please try again.