class Srvy::Host

Attributes

host[R]
port[R]
priority[R]
ttl[R]
weight[R]

Public Class Methods

new(host, port, weight, priority, ttl) click to toggle source
# File lib/srvy/host.rb, line 10
def initialize(host, port, weight, priority, ttl)
  @host     = host
  @port     = port
  @weight   = weight
  @priority = priority
  @ttl      = ttl
end