lib/do_dyndns/updater.rb
# Update the associated domain with the current WAN IPv4 address
# - param {DropletKit::Domain} domain - The domain object
# - param {DropletKit::DomainRecord} record - A domain record
Update the associated domain with the current WAN IPv4 address
param {DropletKit::Domain} domain - The domain object
param {DropletKit::DomainRecord} record - A domain record
Update the associated domain with the current WAN IPv4 address param { DropletKit :: Domain } domain - The domain object param { DropletKit :: DomainRecord } record - A domain record
def update(domain, record)
      @logger.info "Updating record #{record.name}.#{domain.name} from #{record.data} to #{wan_ipv4}"
      record.data = wan_ipv4
      @api.domain_records.update(record, for_domain: domain.name, id: record.id)
    end
def update ( domain , record ) @logger . info "Updating record #{record.name}.#{domain.name} from #{record.data} to #{wan_ipv4}" record . data = wan_ipv4 @api . domain_records . update ( record , for_domain : domain . name , id : record . id ) end
Update the associated domain with the current WAN IPv4 address
 param {DropletKit::Domain} domain - The domain object
 param {DropletKit::DomainRecord} record - A domain record
Update the associated domain with the current WAN IPv4 address param { DropletKit :: Domain } domain - The domain object param { DropletKit :: DomainRecord } record - A domain record
domain
<not_specific>
record
<not_specific>