recurly 3.1.2 → 3.1.3

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
  SHA256:
3
- metadata.gz: dedb6b4ebbfe8edc81164fbd909ea366d705c2513a157c870d0176ec246ae5f0
4
- data.tar.gz: aa1cb993c065fed87ebdc4213a65676b450dc97b60d61af2b60b9fe4c460fdcf
3
+ metadata.gz: f119533cd9b8ee3006b53800f1485919eed12822a9f90e664e2e7c394621d1bc
4
+ data.tar.gz: 8fe195a71e1e14294821ebd0bcac5ade47162e807aabdfc0d0fedffb40b883e6
5
5
  SHA512:
6
- metadata.gz: c41232bb0b2cab634214611f71a3ae15cf9e12dcf2e1a841f5b6de66e52532d0e78ef24c15c6847c0b2a1779e3d8eea4939d1a1b6e871afdea0b5ed55502d56a
7
- data.tar.gz: 2ee27b6276aa4f150ce9fa7de504065f9875dec093b1f9ce35034db31964e1fa763c2517efbb723a2e3f139c8de84319020483d269fa660e0625a4b0539a28c6
6
+ metadata.gz: 48e21f1ee59a87a001e41a98c9bf96e636bb7973c8df8e5354cf65f6358188378e187614d7f7516840c5ab7ccad37f80c7029a7f16a91a5c6aca9cf0c8c0e576
7
+ data.tar.gz: e6a091358b4a5bae79da270cdd66efb7f5b695c388f6865f8caff7fdf4ee9d39d3997a64f3cee0483d1805df10b0ce04b04999b367a8b84737e6637435241dca
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.1.2
2
+ current_version = 3.1.3
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -27,7 +27,7 @@ module Recurly
27
27
  # @return [Error,Resource]
28
28
  def self.from_json(data)
29
29
  type = if data.has_key?("error")
30
- "error"
30
+ "error_may_have_transaction"
31
31
  else
32
32
  data["object"]
33
33
  end
@@ -37,7 +37,7 @@ module Recurly
37
37
  raise ArgumentError, "Unknown resource for json type #{type}"
38
38
  end
39
39
 
40
- data = data["error"] if klazz == Resources::Error
40
+ data = data["error"] if klazz == Resources::ErrorMayHaveTransaction
41
41
 
42
42
  klazz.cast(data)
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "3.1.2"
2
+ VERSION = "3.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recurly
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly