SRS::EPP::Message - abstract type for a single message particle
my $msg = SRS::EPP::Message->new( message => $object, xml => $xml, error => $message, ); # convert a message to XML $message->to_xml;
This class is a common ancestor of EPP commands and responses, as well as SRS requests and responses. Currently the only method that all of these implement is conversion to XML; however parsing is likely to follow.
What space should we stick SRS messages under? I reckon maybe plain SRS::Request:: and SRS::Response::, and subclass them...