Class: Fog::Identity::OpenStack::Users
- Inherits:
-
Collection
- Object
- Collection
- Fog::Identity::OpenStack::Users
- Defined in:
- lib/fog/openstack/models/identity/users.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
12 13 14 |
# File 'lib/fog/openstack/models/identity/users.rb', line 12 def all load(service.list_users(tenant_id).body['users']) end |
#destroy(id) ⇒ Object
34 35 36 37 |
# File 'lib/fog/openstack/models/identity/users.rb', line 34 def destroy(id) user = self.find_by_id(id) user.destroy end |