| 1 | package WWW::EFA::ResultHeader; | ||
| 2 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | with 'WWW::EFA::Roles::Printable'; # provides to_string | |
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | WWW::EFA::ResultHeader - Information from the root (itdRequest) element found in every result | ||
| 8 | |||
| 9 | =head1 VERSION | ||
| 10 | |||
| 11 | Version 0.01 | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | 2 | our $VERSION = '0.01'; | |
| 16 | |||
| 17 | |||
| 18 | =head1 SYNOPSIS | ||
| 19 | |||
| 20 | ResultHeader object acquired through an EFA interface | ||
| 21 | |||
| 22 | use WWW::EFA::ResultHeader; | ||
| 23 | |||
| 24 | my $header = WWW::EFA::ResultHeader->new(); | ||
| 25 | ... | ||
| 26 | |||
| 27 | =head1 ATTRIBUTES | ||
| 28 | |||
| 29 | # TODO: RCL 2011-11-06 Document attributes | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | 2 | has 'version' => ( is => 'ro', isa => 'Str', ); | |
| 34 | 2 | has 'language' => ( is => 'ro', isa => 'Str', ); | |
| 35 | 2 | has 'length_unit' => ( is => 'ro', isa => 'Str', ); | |
| 36 | 2 | has 'session_id' => ( is => 'ro', isa => 'Str', ); | |
| 37 | 2 | has 'server_id' => ( is => 'ro', isa => 'Str', ); | |
| 38 | 2 | has 'server_time' => ( is => 'ro', isa => 'Class::Date', ); | |
| 39 | |||
| 40 | 2 | 1; | |
| 41 | |||
| 42 | =head1 COPYRIGHT | ||
| 43 | |||
| 44 | Copyright 2011, Robin Clarke, Munich, Germany | ||
| 45 | |||
| 46 | =head1 AUTHOR | ||
| 47 | |||
| 48 | Robin Clarke <perl@robinclarke.net> | ||
| 49 | |||