Changeset 10287

Show
Ignore:
Timestamp:
04/24/08 13:53:30 (6 months ago)
Author:
daisuke
Message:

Just enough POD to pass the tests

Location:
lang/perl/WebService-Simple/trunk/lib/WebService/Simple
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/WebService-Simple/trunk/lib/WebService/Simple/Parser.pm

    r10081 r10287  
    44use base qw(Class::Accessor::Fast); 
    55 
     6sub parse_response {} 
     7 
    681; 
     9 
     10__END__ 
     11 
     12=head1 NAME 
     13 
     14WebService::Simple::Parser - Base Parser Class 
     15 
     16=head1 METHODS 
     17 
     18=head2 parse_response($response) 
     19 
     20Parses the response object. Your subclass must implement this method 
     21 
     22=cut 
  • lang/perl/WebService-Simple/trunk/lib/WebService/Simple/Parser/JSON.pm

    r10071 r10287  
    26261; 
    2727 
     28__END__ 
     29 
     30=head1 NAME 
     31 
     32WebService::Simple::Parser::JSON - Parse JSON content 
     33 
     34=head1 SYNOPSIS 
     35 
     36  my $service = WebService::Simple->new( 
     37    base_url => ..., 
     38    response_parser => 'JSON', 
     39  ); 
     40  my $res = $service->get(...); 
     41  my $json = $res->parse_response(); 
     42 
     43=head1 METHODS 
     44 
     45=head2 new 
     46 
     47=head2 parse_response 
     48 
     49=cut 
  • lang/perl/WebService-Simple/trunk/lib/WebService/Simple/Parser/XML/LibXML.pm

    r10081 r10287  
    2222 
    23231; 
     24 
     25__END__ 
     26 
     27=head1 NAME 
     28 
     29WebService::Simple::Parser::XML - Parse XML content using XML::LibXML 
     30 
     31=head1 SYNOPSIS 
     32 
     33  my $service = WebService::Simple->new( 
     34    base_url => ..., 
     35    response_parser => 'XML::LibXML', 
     36  ); 
     37  my $res = $service->get(...); 
     38  my $dom = $res->parse_response(); 
     39 
     40=head1 METHODS 
     41 
     42=head2 new 
     43 
     44=head2 parse_response 
     45 
     46=cut 
  • lang/perl/WebService-Simple/trunk/lib/WebService/Simple/Parser/XML/Simple.pm

    r10071 r10287  
    2020WebService::Simple::Parser::XML::Simple - XML::Simple Adaptor For WebService::Simple::Parser 
    2121 
     22=head1 METHODS 
     23 
     24=head2 parse_response 
     25 
    2226=cut