e_way_client 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/e_way_client/responses/query_txn_status_response.rb +10 -2
- data/lib/e_way_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f9a1722dff1b18cdd8e22b6105557388d720f88
|
4
|
+
data.tar.gz: e2c4b9746435405399272400f5ec57f17d07b504
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f552ac23def1e2793e4deaafb351e80777a6c2dddbb2890e41f7963a37e82c39ed49ffcff19ee16a9edacf60a19c4ba1d7e7d6ce4d3da561e783ecddd62d5388
|
7
|
+
data.tar.gz: c6467230016dfbb4cf5a1b72ac5c0b99dc87e60238a950590efd4562a66ece39fac11afe967a696a82dfa8215b859caa9af0630fe4aa233993ba74e67682a100
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## [1.1.0] - 2017-03-27
|
8
|
+
### Added
|
9
|
+
- Added `cancel_reason` for `QueryTxnStatusResponse` so that developers could use this to describe cancelled transactions
|
10
|
+
|
7
11
|
## [1.0.1] - 2017-02-16
|
8
12
|
### Fixed
|
9
13
|
- Fixed logging of sensitive information
|
@@ -11,10 +11,14 @@ module EWayClient
|
|
11
11
|
lazy: true,
|
12
12
|
default: :default_error_message,
|
13
13
|
})
|
14
|
-
attribute
|
14
|
+
attribute(:transaction_status, String, {
|
15
15
|
lazy: true,
|
16
16
|
default: :default_transaction_status,
|
17
|
-
}
|
17
|
+
})
|
18
|
+
attribute(:cancel_reason, String, {
|
19
|
+
lazy: true,
|
20
|
+
default: :default_cancel_reason,
|
21
|
+
})
|
18
22
|
|
19
23
|
private
|
20
24
|
|
@@ -34,5 +38,9 @@ module EWayClient
|
|
34
38
|
data[:transaction_status]
|
35
39
|
end
|
36
40
|
|
41
|
+
def default_cancel_reason
|
42
|
+
data[:cancel_reason]
|
43
|
+
end
|
44
|
+
|
37
45
|
end
|
38
46
|
end
|
data/lib/e_way_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: e_way_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|