Changeset 10211

Show
Ignore:
Timestamp:
04/23/08 22:43:22 (6 months ago)
Author:
yusukebe
Message:

要らないと思われるので t/pod-coverage.t を削除

Location:
lang/perl/WebService-Simple/trunk
Files:
1 removed
2 modified

Legend:

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

    r10078 r10211  
    156156} 
    157157 
    158 # まだできてない。 
    159158sub post 
    160159{ 
     
    212211It's basically an LWP::UserAgent that remembers recurring api URLs and 
    213212parameters, plus sugar to parse the results. 
    214  
    215213 
    216214=head1 SUBCLASSING 
     
    261259This allows great flexibility in handling different webservices 
    262260 
     261=head1 CACHING 
     262 
     263  my $cache   = Cache::File->new( 
     264      cache_root      => '/tmp/mycache', 
     265      default_expires => '30 min', 
     266  ); 
     267   
     268  my $flickr = WebService::Simple->new( 
     269      base_url => "http://api.flickr.com/services/rest/", 
     270      cache    => $cache, 
     271      param    => { api_key => "your_api_key, } 
     272  ); 
     273 
     274 
    263275=head1 AUTHOR 
    264276 
     
    270282 
    271283=head1 COPYRIGHT AND LICENSE 
    272  
    273 Copyright (c) 2008 Yusuke Wada, All rights reserved. 
    274284 
    275285This module is free software; you can redistribute it 
  • lang/perl/WebService-Simple/trunk/lib/WebService/Simple/Response.pm

    r10071 r10211  
    2828=head1 NAME 
    2929 
    30 Webservice::Simple::Response - Adds a xml_parse() to HTTP::Response 
    31  
    32 =head1 VERSION 
    33  
    34 This document describes Webservice::Simple::Response version 0.0.1 
    35  
    36 =head1 METHODS 
    37  
    38 =over 4 
    39  
    40 =item parse_xml(I<%args>) 
    41  
    42 Parse a xml content with XML::Simple and return the Perl object. 
    43 You can tell XML::Simple parse options as parameters. 
    44  
    45   my $ref = $response->parse_xml( { forcearray => [], keyattr => [] } ); 
    46  
    47 =back 
     30Webservice::Simple::Response - Adds a parse_response() to HTTP::Response 
    4831 
    4932=head1 AUTHOR 
     
    5134Yusuke Wada  C<< <yusuke@kamawada.com> >> 
    5235 
     36Daisuke Maki C<< <daisuke@endeworks.jp> >> 
     37 
    5338=head1 COPYRIGHT AND LICENSE 
    54  
    55 Copyright (c) 2008 Yusuke Wada, All rights reserved. 
    5639 
    5740This module is free software; you can redistribute it 
    5841and/or modify it under the same terms as Perl itself. 
    5942See L<perlartistic>. 
     43 
     44=cut