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 +4 -4
- data/.bumpversion.cfg +1 -1
- data/lib/recurly/schema/json_parser.rb +2 -2
- data/lib/recurly/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f119533cd9b8ee3006b53800f1485919eed12822a9f90e664e2e7c394621d1bc
|
4
|
+
data.tar.gz: 8fe195a71e1e14294821ebd0bcac5ade47162e807aabdfc0d0fedffb40b883e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48e21f1ee59a87a001e41a98c9bf96e636bb7973c8df8e5354cf65f6358188378e187614d7f7516840c5ab7ccad37f80c7029a7f16a91a5c6aca9cf0c8c0e576
|
7
|
+
data.tar.gz: e6a091358b4a5bae79da270cdd66efb7f5b695c388f6865f8caff7fdf4ee9d39d3997a64f3cee0483d1805df10b0ce04b04999b367a8b84737e6637435241dca
|
data/.bumpversion.cfg
CHANGED
@@ -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
|
-
"
|
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::
|
40
|
+
data = data["error"] if klazz == Resources::ErrorMayHaveTransaction
|
41
41
|
|
42
42
|
klazz.cast(data)
|
43
43
|
end
|
data/lib/recurly/version.rb
CHANGED