class EZDyn::CreateChange

A pending record creation.

Public Class Methods

new(record:) click to toggle source

@private

# File lib/ezdyn/changes.rb, line 55
def initialize(record:)
  @record = record
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 62
def to_s
  "CREATE #{@record.fqdn}.   #{@record.ttl} #{@record.type}   #{@record.value}"
end