It
uses Fedex API Shipment version 13. This version uses the
Non-SOAP Web Services so there is no need to download the Fedex WSDL
files, note however that you will need to apply for
development/production credentials.

Installation

Include gem
'fedex' in Gemfile.rb .

Run $bundle install .

How to use?

Basically we use
some shipping destination where to ship and the sender's destinations
from where we want to ship. We need to provide package informations .
The package informations consists of

Package Dimensions
with parameters

height

length

width

These
informations need to give in inches
or centimeters .

Package
Weight parameter

weight
with lbs

We
will send a request to the fedex API to get rate from fedex. Later we
will get a request to get label from fedex. The label will give a
report with bar code with valid fedex tracking number.

Using Rails gem
how will acomplish this will described here .....

Defining a Test
Shiper

shipper = { :name => "Test
Fedex Sender",

:company => "Home",

:phone_number =>
"121-333-2332",

:address => "Main
Street",

:city => "Littleton",

:state => "CO",

:postal_code => "80125",

:country_code => "US"
}

Defining a test
Recipient

recipient = { :name => "Test
Fedex Recipient",

:company => "Home",

:phone_number =>
"555-555-5555",

:address => "Main
Street",

:city => "Boulder",

:state => "CO",

:postal_code =>
"80304",

:country_code => "US",

:residential =>
"false" }

Defining the packages; multiple
packages in a single shipment are also allowed (all the dimensions
must be integers).