NAME

XML::SRS::Whois - Class representing an SRS Whois transaction

SYNOPSIS

my $whois = XML::SRS::Whois->new(
    full => 1,
    source_ip => 192.168.1.1,
    domain => 'nzrs.net.nz',
);

DESCRIPTION

This class represents an SRS Whois request. The root XML element of this class is 'Whois'.

ATTRIBUTES

Each attribute of this class has an accessor/mutator of the same name as the attribute. Additionally, they can be passed as parameters to the constructor.

full

Optional boolean. Maps to FullResult XML attribute.

source_ip

Optional string. Maps to SourceIP XML attribute.

domain

Required string, containing a valid domain name to query on.

METHODS

new(%params)

Construct a new XML::SRS::Request object. %params specifies the initial values of the attributes.

COMPOSED OF

XML::SRS::Query