orchard-api-client-anm 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orchard/api/check_wallet_balance.rb +12 -0
- data/lib/orchard/api_client.rb +4 -0
- data/lib/orchard/constants.rb +1 -0
- data/lib/orchard/version.rb +2 -2
- data/lib/orchard.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 686070796aa97295ea62df419a9f3e3f4a40b845e077fadcc9f85e6509ba283e
|
4
|
+
data.tar.gz: 7c8021f6dd5d46fc64b088688fdddf0ac1dcaa4db7abbe748c80bc74a435d118
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77e46d159082cb8e283582e322212ce55187601f9e40362feeaaa5fb4ea16e584dc9146a479cb97a8eaead4242b3b6fb0403dee341c71aedeced354f5291391a
|
7
|
+
data.tar.gz: 9d3fe5871bf92b87fc69362317bf0b676d1f2f6b84f59dcdb2c5e216cd240d1001c1fda6bf4aed6bb5104ac16065545cc66aeeb8ba1e3167d8416ddaf728a82f
|
data/lib/orchard/api_client.rb
CHANGED
@@ -25,6 +25,10 @@ module Orchard
|
|
25
25
|
Orchard::API::CheckTransactionStatus.call(payload_with_client_data(payload), request_configurations)
|
26
26
|
end
|
27
27
|
|
28
|
+
def check_wallet_balance(payload, request_configurations = {})
|
29
|
+
Orchard::API::CheckWalletBalance.call(payload_with_client_data(payload), request_configurations)
|
30
|
+
end
|
31
|
+
|
28
32
|
private
|
29
33
|
|
30
34
|
def create_connection
|
data/lib/orchard/constants.rb
CHANGED
data/lib/orchard/version.rb
CHANGED
data/lib/orchard.rb
CHANGED
@@ -9,5 +9,6 @@ require_relative "orchard/api/send_payment_request"
|
|
9
9
|
require_relative "orchard/api/send_sms"
|
10
10
|
require_relative "orchard/api/service_lookup_request"
|
11
11
|
require_relative "orchard/api/check_transaction_status"
|
12
|
+
require_relative "orchard/api/check_wallet_balance"
|
12
13
|
|
13
14
|
require_relative "orchard/api_client"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orchard-api-client-anm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sydney Dapilah
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- lib/orchard.rb
|
86
86
|
- lib/orchard/api/base.rb
|
87
87
|
- lib/orchard/api/check_transaction_status.rb
|
88
|
+
- lib/orchard/api/check_wallet_balance.rb
|
88
89
|
- lib/orchard/api/send_payment_request.rb
|
89
90
|
- lib/orchard/api/send_sms.rb
|
90
91
|
- lib/orchard/api/service_lookup_request.rb
|