jazminschroeder / fedex

Ruby library to interact with FedEx Rate Web Service
105 stars 179 forks source link

transit_time=nil response for all shipping service types except ground #118

Open Scott-S opened 8 years ago

Scott-S commented 8 years ago

Hey Guys,

I seem to be having trouble requesting Transit times - for both fedex.ship and fedex.rate requests I'm returning @transit_time=nil for shipping service types except FEDEX_GROUND

It this a known limitation of this gem, does anyone know how to return transit time along with rates?

In the FedEX Documentation I found this:

Use the optional ReturnTransitAndCommit element to include transit time information in the reply. FedEx Express information will include the day and date the package will be delivered, based on the ship date you specified. The FedEx Ground response will describe the number of business days required for the package delivery

Thanks!

martinemde commented 8 years ago

I've solved this with #122.

Please see details there.