Feed Jan 04, 2007

ShippingGem


Overview

Shipping is a Ruby interface to carriers such as FedEx and UPS. It can be used to retrieve rates and print various types of shipment labels (the latter require that you have an active account with the carrier).

Usage Example

    require 'shipping'

    ups = Shipping::UPS.new :zip => 97202, :state => "OR", :sender_zip => 10001, :weight => 2
    puts "The price of shipping will be: #{ups.price}"

Download / Install

gem install shipping

or:

RubyForge Page

Credits

Shipping was originally written by Lucas Carlson (lucas at rufy.com), and was extended with UPS capability, code cleanup, and extensive testing by Noah Zoschke (noah at bitscribe.net).