amex_tokenization_client 0.1.2 → 0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 800325436774bd5e89010628c690c6e0c5dd535008832b78a747613f721802d9
|
4
|
+
data.tar.gz: bfaaa00543d0bdac82497d1617c7eecca48f31401918f5809fc290ef80e05501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c16ab5bf9d2f50b18ec217d44ffa30524cedb9d20b3092d2546b3e1e99fd148cdc74e99024895b737fca0094c036310d262d0e488c3dcb59b2af4a748f9a794a
|
7
|
+
data.tar.gz: 53dfd5e16c9fbb24e6bd49954860756d70c094813cfc6e8459d865f0cda5f5feabae665c1d3a9e9dd8096572dd9d95bd925525467894ade6562f32271cc2388b
|
@@ -53,8 +53,11 @@ class AmexTokenizationClient
|
|
53
53
|
end
|
54
54
|
|
55
55
|
class UnexpectedHttpResponse < StandardError
|
56
|
+
attr_reader :response
|
57
|
+
|
56
58
|
def initialize(response)
|
57
|
-
|
59
|
+
@response = response
|
60
|
+
super "#{response.message} (#{response.code}): #{response.body}"
|
58
61
|
end
|
59
62
|
end
|
60
63
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amex_tokenization_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piers Chambers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwe
|