Skip Menu |

This queue is for tickets about the Business-Shipping CPAN distribution.

Report information
The Basics
Id: 4386
Status: resolved
Worked: 2 min
Priority: 0/
Queue: Business-Shipping

People
Owner: db [...] kavod.com
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in:
  • 0.77
  • 0.78
Fixed in: (no value)



Subject: Better docs for rate_request
Hello, Thanks for sharing this module. I'm glad to see this is part of Interchange. I like the idea that it is mostly a re-usable module, with a little bit of glue to provide the IC UserTag. Here's a patch that gives a start on enhanced docs for rate_request: http://mark.stosberg.com/Tech/perl/Business-Shipping-docs.patch Mark
From: markstos [...] cpan.org
While you are looking at the docs, I should mention a couple of other easy bugs with the SYNOPSIS: my $rate_request = Business::Shipping->rate_request( shipper => 'UPS', user_id => '', password => '', service => 'GNDRES', from_zip => '98682', to_zip => '98270', weight => 5.00, }; $rate_request->submit() or die $shipping->error(); ######## 1. The call to rate_request should close with a paren, not a bracket. 2. "$shipping" is called, but there is no example of how it is created.
[guest - Thu Nov 13 13:33:22 2003]: Show quoted text
> While you are looking at the docs, I should mention a couple of other > easy bugs with the SYNOPSIS:
[snip] Show quoted text
> 1. The call to rate_request should close with a paren, not a bracket. > 2. "$shipping" is called, but there is no example of how it is created.
Mark, Thanks a lot for the contribution, I've committed it to CVS. FYI, the "$shipping" object should have been "$rate_request". If you come up with anything else, I would be happy to recieve it. Thanks again, -Dan