Class: DNSEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/hpc/dns.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

Method: DNSEntry#initialize

Defined in:
lib/hpc/dns.rb

- (DNSEntry) initialize(owner, proto, type, data)

Returns a new instance of DNSEntry



110
111
112
113
114
115
# File 'lib/hpc/dns.rb', line 110

def initialize(owner, proto, type, data)
  @owner = owner
  @proto = proto
  @type = type
  @data = data
end

Instance Attribute Details

Method: DNSEntry#data

Defined in:
lib/hpc/dns.rb

- (Object) data (readonly)

Returns the value of attribute data



108
109
110
# File 'lib/hpc/dns.rb', line 108

def data
  @data
end

Method: DNSEntry#owner

Defined in:
lib/hpc/dns.rb

- (Object) owner (readonly)

Returns the value of attribute owner



108
109
110
# File 'lib/hpc/dns.rb', line 108

def owner
  @owner
end

Method: DNSEntry#proto

Defined in:
lib/hpc/dns.rb

- (Object) proto (readonly)

Returns the value of attribute proto



108
109
110
# File 'lib/hpc/dns.rb', line 108

def proto
  @proto
end

Method: DNSEntry#type

Defined in:
lib/hpc/dns.rb

- (Object) type (readonly)

Returns the value of attribute type



108
109
110
# File 'lib/hpc/dns.rb', line 108

def type
  @type
end