lib/fog/ecloud/models/compute/password_complexity_rules.rb in fog-1.8.0 vs lib/fog/ecloud/models/compute/password_complexity_rules.rb in fog-1.9.0

- old
+ new

@@ -8,15 +8,15 @@ identity :href model Fog::Compute::Ecloud::PasswordComplexityRule def all - data = connection.get_password_complexity_rules(href).body + data = service.get_password_complexity_rules(href).body load(data) end def get(uri) - if data = connection.get_password_complexity_rule(uri) + if data = service.get_password_complexity_rule(uri) new(data.body) end rescue Fog::Errors::NotFound nil end