bridge_client 0.3.0 → 0.4.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/bridge_client/responses/send_payment_response.rb +10 -0
- data/lib/bridge_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: a08b234d093718b7e5e443b873f5f94a127b6214
|
4
|
+
data.tar.gz: a7b91b12666151d758fc5bf6559aa88cdc280faa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 793cd3442f7e86d5b6ece631f847539f01d2f6cdd927c893f6325686d135bd56f72a1ee6ac8734068331c37f4169b0db1bf2704cee4d3a799a10f967beafda59
|
7
|
+
data.tar.gz: 64b754518883ffa542eb9819e44dd0d22ba4e29feae8d6be3d600e7d172b163d6c5cdb425621cc42d01a3a7f6cde0b6edd14a6134e7b57ef31004fecb17c8bd7
|
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
|
+
## [0.4.0] - 2017-04-05
|
8
|
+
### Added
|
9
|
+
- Expose response's `code` (as `code_str`) and `message`
|
10
|
+
|
7
11
|
## [0.3.0] - 2017-03-31
|
8
12
|
### Changed
|
9
13
|
- Use `api_client_base` `~> 1.0`
|
@@ -5,6 +5,8 @@ module BridgeClient
|
|
5
5
|
attribute :hash, String, lazy: true, default: :default_hash
|
6
6
|
attribute :result_xdr, String, lazy: true, default: :default_result_xdr
|
7
7
|
attribute :ledger, Integer, lazy: true, default: :default_ledger
|
8
|
+
attribute :code_str, String, lazy: true, default: :default_code_str
|
9
|
+
attribute :message, String, lazy: true, default: :default_message
|
8
10
|
|
9
11
|
private
|
10
12
|
|
@@ -24,5 +26,13 @@ module BridgeClient
|
|
24
26
|
body[:ledger]
|
25
27
|
end
|
26
28
|
|
29
|
+
def default_code_str
|
30
|
+
body[:code]
|
31
|
+
end
|
32
|
+
|
33
|
+
def default_message
|
34
|
+
body[:message]
|
35
|
+
end
|
36
|
+
|
27
37
|
end
|
28
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridge_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|