Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::HP::DNS::Record

Public Class Methods

new(new_attributes = {}) click to toggle source
# 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

Public Instance Methods

destroy() click to toggle source
# 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
save() click to toggle source
# File lib/fog/hp/models/dns/record.rb, line 31
def save
  identity ? update : create
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.