Class: Fog::DNS::PowerDNS::Record

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/dns/powerdns/models/record.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Record

Returns a new instance of Record.



18
19
20
# File 'lib/fog/dns/powerdns/models/record.rb', line 18

def initialize(attributes = {})
  super
end

Instance Method Details

#destroyObject



26
27
28
29
30
# File 'lib/fog/dns/powerdns/models/record.rb', line 26

def destroy
  # service.delete_record(id)
  # TODO: maybe hack our own delete? this does nothing for now
  true
end

#domainObject



22
23
24
# File 'lib/fog/dns/powerdns/models/record.rb', line 22

def domain
  name
end