lib/fog/openstack/models/identity/roles.rb in fog-1.8.0 vs lib/fog/openstack/models/identity/roles.rb in fog-1.9.0
- old
+ new
@@ -6,14 +6,14 @@
class OpenStack
class Roles < Fog::Collection
model Fog::Identity::OpenStack::Role
def all
- load(connection.list_roles.body['roles'])
+ load(service.list_roles.body['roles'])
end
def get(id)
- connection.get_role(id)
+ service.get_role(id)
end
end
end # class OpenStack
end # module Compute