Fog::Model
# File lib/fog/hp/models/dns/record.rb, line 19 def initialize(new_attributes = {}) super(new_attributes) self.domain_id = domain.id if domain self end
# File lib/fog/hp/models/dns/record.rb, line 25 def destroy requires :id, :domain_id service.delete_record(self.domain_id, id) true end
# File lib/fog/hp/models/dns/record.rb, line 31 def save identity ? update : create end
[Validate]
Generated with the Darkfish Rdoc Generator 2.