Comments (1)
This did it for me, msergeant over on stackoverflow pointed me in the right direction. I'm still getting used to Ruby and like any issues I've run into, the solutions are much easier than I think them to be
begin
results = fedex.track(:tracking_number => tracking)
rescue Fedex::RateError
statusImg = "http://t2.gstatic.com/images?q=tbn:ANd9GcRuKAIYZ2mNLsjRulsH05zNwF93jmAdpgZGSgtVN8XiT7_SWw285g"
statusRet = "Nope!!"
@trkResultTxt = statusRet
@trkResultImg = statusImg
else
tracking_info = results.first
@trkStatus = tracking_info.status
end
from fedex.
Related Issues (20)
- Update Service id pickup for pickup_availability request. HOT 1
- What is the best way a to send request for mulitple shipment?
- Support shipment LabelSpecification PrintedLabelOrigin element HOT 2
- Currency attribute is ignored in Rate HOT 1
- Does this ruby gem support FedExSearchLocationsRequest?
- not able to track with tracking id HOT 2
- transit_time=nil response for all shipping service types except ground HOT 1
- Creating label to print to Zebra thermal printer
- No Support for Freight Rates HOT 5
- Fedex::RateError (Fedex::RateError) HOT 5
- How to View PCX Files
- How to resolve "Airbill is not allowed for Origin Country" issue HOT 2
- Attaching Labels Using Paperclip
- Weight error HOT 1
- Any news about the major refactor you've talked about?
- Customs Value is required error on create shipment HOT 1
- IS THIS BEING MAINTAINED? HOT 4
- Shipment Notification Email
- How to calculate SmartPostDetail rates and how to ship Smart Post service type shipment?
- Address Validation: Does international address validation work with this? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fedex.