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