fedex-web-services 1.1.50 → 1.1.51

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Fedex
2
- VERSION = "1.1.50"
2
+ VERSION = "1.1.51"
3
3
  end
@@ -10,7 +10,7 @@ module Fedex::WebServices
10
10
  include Fedex::WebServices::Definitions
11
11
  include Fedex::WebServices::Request
12
12
 
13
- Credentials = Struct.new("Credentials",
13
+ Credentials = Struct.new(
14
14
  :account_number, :meter_number, :key, :password, :environment
15
15
  )
16
16
 
@@ -72,6 +72,8 @@ module Fedex::WebServices
72
72
  acc + BigDecimal.new(rate.netCharge.amount) :
73
73
  acc
74
74
  end
75
+ rescue
76
+ raise "Unable to extract rate information from response"
75
77
  end
76
78
 
77
79
  protected
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fedex-web-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.50
4
+ version: 1.1.51
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-29 00:00:00.000000000 Z
12
+ date: 2012-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: soap4r-ruby19
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  version: '0'
69
69
  requirements: []
70
70
  rubyforge_project: fedex-web-services
71
- rubygems_version: 1.8.24
71
+ rubygems_version: 1.8.23
72
72
  signing_key:
73
73
  specification_version: 3
74
74
  summary: Provies an interface to the FedEx web services API (version 10)