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: fe2d3c89254fb6d42b0b71b36a9257822156e278c5b6b6ee404df92de89adf88
4
- data.tar.gz: e23d7e43db64bc42dbc1ea4b6e1ce1304fa0ebbdbb85f4964337185db5e038b6
3
+ metadata.gz: 22bca419858375c58c67060d10b221c404dfb69e5edaa78561106647273d8590
4
+ data.tar.gz: d8de77bc7e9205a5a4048b5c39f5b6d55d623dc5957685bf60ea4525390f4f03
5
5
  SHA512:
6
- metadata.gz: c3aca8a98842a779685825388f26f85fd882919ba5cdc8f28796df92ae592c0a20bb24439b9a4905f5fd469d1e185ecaca645e6378d59e8d3353b01ff1e479be
7
- data.tar.gz: 8cff30a08e0663f88fa264bf7bce4edc92ddfca77b46e4a22a2a145ac46d8fc3abb9202a068665eede0e1d0f4a927f06e4d5dd2936bc2324e4129049208cecf6
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
@@ -1,3 +1,3 @@
1
1
  module BloomRemitClient
2
- VERSION = "0.17.0"
2
+ VERSION = "0.17.1"
3
3
  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.0
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-01 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport