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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 154821233c68a3592b877056551246820916ddea
4
- data.tar.gz: ca935dfcf0796dd75a0faa050d8a37cfba20211e
3
+ metadata.gz: 9f9a1722dff1b18cdd8e22b6105557388d720f88
4
+ data.tar.gz: e2c4b9746435405399272400f5ec57f17d07b504
5
5
  SHA512:
6
- metadata.gz: 422484b0271160775f621634d7569824183ad011333588d221fcfdc41764ed31b8d97cbc07356c1dc3e3d1b90879670c7100d56cf51f0ac6d771fb0729a83113
7
- data.tar.gz: 334c2713d80d5eeefd925a119eda1cdf290d48bc9f5201366d52c920afa57cde8459c445ac847bd0c5dc3d372812eb98d56067cee0d1df4bfec3669ac904a6c8
6
+ metadata.gz: f552ac23def1e2793e4deaafb351e80777a6c2dddbb2890e41f7963a37e82c39ed49ffcff19ee16a9edacf60a19c4ba1d7e7d6ce4d3da561e783ecddd62d5388
7
+ data.tar.gz: c6467230016dfbb4cf5a1b72ac5c0b99dc87e60238a950590efd4562a66ece39fac11afe967a696a82dfa8215b859caa9af0630fe4aa233993ba74e67682a100
@@ -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 :transaction_status, String, {
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
@@ -1,3 +1,3 @@
1
1
  module EWayClient
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
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.1
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-02-16 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus