class EZDyn::DeleteChange

A pending record deletion.

Public Class Methods

new(record:) click to toggle source

@private

# File lib/ezdyn/changes.rb, line 104
def initialize(record:)
  @record = record.sync!
end

Public Instance Methods

to_s() click to toggle source

Returns a string representation of the change.

@return [String] A string representation of this change.

# File lib/ezdyn/changes.rb, line 111
def to_s
  "DELETE #{@record.fqdn}.   #{@record.ttl} #{@record.type}   #{@record.value}"
end