lib/fog/azurerm/models/dns/zones.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/dns/zones.rb in fog-azure-rm-0.2.0

- old
+ new

@@ -18,11 +18,11 @@ zone = service.get_zone(resource_group, name) zone_fog = Fog::DNS::AzureRM::Zone.new(service: service) zone_fog.merge_attributes(Fog::DNS::AzureRM::Zone.parse(zone)) end - def check_for_zone(resource_group, name) - service.check_for_zone(resource_group, name) + def check_zone_exists(resource_group, name) + service.check_zone_exists(resource_group, name) end end end end end