Class: Fog::Identity::OpenStack::V2::Roles
- Inherits:
-
OpenStack::Collection
- Object
- Collection
- OpenStack::Collection
- Fog::Identity::OpenStack::V2::Roles
- Defined in:
- lib/fog/openstack/models/identity_v2/roles.rb
Instance Attribute Summary
Attributes inherited from OpenStack::Collection
Instance Method Summary collapse
Methods inherited from OpenStack::Collection
#destroy, #load_response, #summary
Instance Method Details
#all(options = {}) ⇒ Object
11 12 13 |
# File 'lib/fog/openstack/models/identity_v2/roles.rb', line 11 def all( = {}) load_response(service.list_roles(), 'roles') end |
#get(id) ⇒ Object
15 16 17 |
# File 'lib/fog/openstack/models/identity_v2/roles.rb', line 15 def get(id) service.get_role(id) end |