class Splicer::DnsMadeEasy::Record

Attributes

data[RW]
description[RW]
dynamicDns[RW]
failed[RW]
failover[RW]
gtdLocation[RW]
id[RW]
keywords[RW]
monitor[RW]
mxLevel[RW]
name[RW]
redirectType[RW]
source[RW]
sourceId[RW]
title[RW]
ttl[RW]
type[RW]
value[RW]

Public Class Methods

new(params={}) click to toggle source
# File lib/splicer/dns_made_easy/record.rb, line 8
def initialize(params={})
  @id = params['id']
  @type = params['type']
  @value = params['value']
  @ttl = params['ttl']
  @data = params
end

Public Instance Methods

id?()
Alias for: persisted?
persisted?() click to toggle source
# File lib/splicer/dns_made_easy/record.rb, line 16
def persisted?
  !!@id
end
Also aliased as: id?