1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

making a reader for domain to duplicate name attribute

This commit is contained in:
Joshua Gross 2014-01-23 18:47:24 -05:00
parent b3fae0dc88
commit 7d2b460149

View file

@ -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