diff --git a/lib/fog/rage4/models/dns/record.rb b/lib/fog/rage4/models/dns/record.rb index 42e022ba2..a2420cdf1 100644 --- a/lib/fog/rage4/models/dns/record.rb +++ b/lib/fog/rage4/models/dns/record.rb @@ -9,7 +9,7 @@ module Fog identity :id - attribute :name, :aliases => "domain" + attribute :name attribute :value, :aliases => "content" attribute :ttl attribute :zone_id, :aliases => "domain_id" @@ -20,6 +20,10 @@ module Fog super end + def domain + name + end + def destroy service.delete_record(identity) true