bloom_remit_client 0.17.0 → 0.17.1
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: 22bca419858375c58c67060d10b221c404dfb69e5edaa78561106647273d8590
|
4
|
+
data.tar.gz: d8de77bc7e9205a5a4048b5c39f5b6d55d623dc5957685bf60ea4525390f4f03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a6ca007f405f223d7d9c3f1d7b78166b28525e2de8d30b5bc47e4f179c87312a639737b752f481ab288db867ee2b9af37babf080fbe773617f45915cd0695b1
|
7
|
+
data.tar.gz: 5e28b826243ab762b174d31900a2a7355853259c2ebb71b30c7ae480e267e661c8b1c541a4109062fd4e5599cbfb91044e07783fdb680a3297e9d8107cee69e7
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [0.17.1] - 2021-02-03
|
6
|
+
### Added
|
7
|
+
- Add `create_txn#errors` to easily access errors
|
8
|
+
|
5
9
|
## [0.17.0] - 2021-02-01
|
6
10
|
### Added
|
7
11
|
- `#get_deposit_targets` to list all deposit targets
|
@@ -1,8 +1,13 @@
|
|
1
1
|
module BloomRemitClient
|
2
2
|
class CreateTxnResponse < BaseResponse
|
3
3
|
|
4
|
+
attribute :errors, Array, lazy: true, default: :default_errors
|
4
5
|
attribute :txn, Txn, lazy: true, default: :default_txn
|
5
6
|
|
7
|
+
def default_errors
|
8
|
+
Array(parsed_body[:errors])
|
9
|
+
end
|
10
|
+
|
6
11
|
def default_txn
|
7
12
|
Txn.new(parsed_body[:txn])
|
8
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bloom_remit_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|