lib/fog/ecloud/models/compute/authentication_levels.rb in fog-1.8.0 vs lib/fog/ecloud/models/compute/authentication_levels.rb in fog-1.9.0
- old
+ new
@@ -8,15 +8,15 @@
identity :href
model Fog::Compute::Ecloud::AuthenticationLevel
def all
- data = connection.get_authentication_levels(href).body
+ data = service.get_authentication_levels(href).body
load(data)
end
def get(uri)
- if data = connection.get_authentication_level(uri)
+ if data = service.get_authentication_level(uri)
new(data.body)
end
rescue Fog::Errors::NotFound
nil
end