fedex-web-services 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06101ed7cbcb38c975dea29b6d42f1f60c056f20
4
- data.tar.gz: 40b93297679f25e79fba9217a4a91f7d5d08c773
3
+ metadata.gz: 2df100caf689bfcfbaf2ed206116a693a0cb5a88
4
+ data.tar.gz: 42714f09b1e50943eece4599de1b26e035042008
5
5
  SHA512:
6
- metadata.gz: 34cd181423a2cdeb1d359216226612366f9b846ab2a569ef31650ffd7081fb944f815afe0421a7137923f6590d02f35a7ad92b54d2bef1a5b8510b1ffefbf6bf
7
- data.tar.gz: a03f180826690354ad97a84a7ccb78c41a98baa75c3014488127c4de9b76e53784fb8a0c04ebacf0b5b96bf42d339276870624dc0eba255358aa7a932dfc0b21
6
+ metadata.gz: b0be594c7b414dbc77e61ca9c7808e615719c9610ab95c4ab885fcc4de2092a4542447cc903719602cfaad5efaab52d64354dd0a9c59b32eea594953a7b15873
7
+ data.tar.gz: 3683243c9ba24e50711fdc4df6de1dc53411ecdccc35bb35f6787de1317022e1be5b865229ec2a278cb009d9d8d8d7e6b86d089c2c7bfaeb47df6dafd90ce6be
@@ -55,7 +55,6 @@ module FedexWebServices
55
55
  end
56
56
  end
57
57
  rescue Exception => root_exception
58
- raise
59
58
  err = ServiceException.new(root_exception.message)
60
59
  err.details = root_exception.detail.fault.details.validationFailureDetail.message rescue nil
61
60
  raise err
@@ -10,7 +10,7 @@ module FedexWebServices
10
10
  def tracking_number
11
11
  contents.completedShipmentDetail.completedPackageDetails[0].trackingIds[0].trackingNumber
12
12
  rescue
13
- raise "Unable to extract tracking number from response"
13
+ raise Api::ServiceException, "Unable to extract tracking number from response"
14
14
  end
15
15
 
16
16
  def package_rate
@@ -22,7 +22,7 @@ module FedexWebServices
22
22
  acc
23
23
  end
24
24
  rescue
25
- raise "Unable to extract rate information from response"
25
+ raise Api::ServiceException, "Unable to extract rate information from response"
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module FedexWebServices
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fedex-web-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Abreu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-15 00:00:00.000000000 Z
11
+ date: 2016-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: soap4r-ng