orchard-api-client-anm 0.1.6 → 0.1.8

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: e3007289bbba240cda4e268f7bf7fd8823aa69bf8c21b63fe535dce5fa16d275
4
- data.tar.gz: 42ec0f1b0b65a2b4474ceb0e212825cf9fd7d00f77b137b4176dd7895496a676
3
+ metadata.gz: 686070796aa97295ea62df419a9f3e3f4a40b845e077fadcc9f85e6509ba283e
4
+ data.tar.gz: 7c8021f6dd5d46fc64b088688fdddf0ac1dcaa4db7abbe748c80bc74a435d118
5
5
  SHA512:
6
- metadata.gz: cdda46bb8b86634bd29e540a2509d9b9c1061d4b5c1cd9fca191b28f5ecbc5322d899d5593fb6b8142f415f4e89158ba2281ce3a9104fa04b685f52ebc7b08c8
7
- data.tar.gz: a48c383dff8a228f6bc89ba872331a7634df7ed0e877f96df21f565353a3cc5872bc8b7a2fa56f1d4645eb29aa0cc6f029dc6c1ce9c12ffb4c0c63cade51f015
6
+ metadata.gz: 77e46d159082cb8e283582e322212ce55187601f9e40362feeaaa5fb4ea16e584dc9146a479cb97a8eaead4242b3b6fb0403dee341c71aedeced354f5291391a
7
+ data.tar.gz: 9d3fe5871bf92b87fc69362317bf0b676d1f2f6b84f59dcdb2c5e216cd240d1001c1fda6bf4aed6bb5104ac16065545cc66aeeb8ba1e3167d8416ddaf728a82f
data/d ADDED
@@ -0,0 +1,155 @@
1
+ commit 7100f12fad12b238e10448835d1fe5729b4c262c
2
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
3
+ Date: Sat Nov 26 15:57:46 2022 +0000
4
+
5
+ bug fix
6
+
7
+ commit a776dacc02bc0ee3048a755e8f3cb6d91ce82aff
8
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
9
+ Date: Thu Nov 17 22:15:37 2022 +0000
10
+
11
+ updated gem version
12
+
13
+ commit effaab3f018770d37101896d3be00649c75cc52b
14
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
15
+ Date: Thu Nov 17 21:57:39 2022 +0000
16
+
17
+ status check endpoint added
18
+
19
+ commit a78c46ddd248f055a70a10ec7112382ee28d8720
20
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
21
+ Date: Fri Nov 11 20:19:19 2022 +0000
22
+
23
+ added tests and service lookup support
24
+
25
+ commit c7906b7aa34362327300152be85d7ddc5d09aec8
26
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
27
+ Date: Tue Oct 25 12:56:21 2022 +0000
28
+
29
+ add ups to docs
30
+
31
+ commit d4b06b0f175ee9f84b06890cfc4237e2bf268293
32
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
33
+ Date: Tue Oct 25 11:13:23 2022 +0000
34
+
35
+ add ups to docs
36
+
37
+ commit 8503c134d7db3a1794ba634e9b7d98ebb6757457
38
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
39
+ Date: Tue Oct 25 11:12:23 2022 +0000
40
+
41
+ add ups to docs
42
+
43
+ commit 8ebf1129a284cfecb38cb25e22bd820708ef547e
44
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
45
+ Date: Mon Oct 24 10:22:24 2022 +0000
46
+
47
+ codebase cleanup
48
+
49
+ commit 2eeba98d78bb1e155f51f4db46df83576c57febc
50
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
51
+ Date: Mon Oct 24 10:15:40 2022 +0000
52
+
53
+ codebase cleanup
54
+
55
+ commit 9d4fcc460e47684d72ccb28aebdaf32f64ff38f0
56
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
57
+ Date: Mon Oct 24 10:12:56 2022 +0000
58
+
59
+ codebase cleanup
60
+
61
+ commit 5b8afc9d1491d73a1adb06997d3945422ed3a71a
62
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
63
+ Date: Thu Oct 20 13:22:23 2022 +0000
64
+
65
+ Updating the dependencies
66
+
67
+ commit 067791ac31dd1c64f8aa9e6ae56e761edf4c2cd0
68
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
69
+ Date: Thu Oct 20 13:20:53 2022 +0000
70
+
71
+ Updating dependencies
72
+
73
+ commit f43a1ac24658a446d6cd7e094600c69ee5954693
74
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
75
+ Date: Thu Oct 20 12:47:56 2022 +0000
76
+
77
+ Support added for SMS
78
+
79
+ commit 50b2416f9750094825d02325a6f771e5969e0bed
80
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
81
+ Date: Thu Oct 20 12:46:56 2022 +0000
82
+
83
+ Sms support added for version 0.1.2
84
+
85
+ commit 3c1449697515ffdaaf07a99c0e10aac700abecd4
86
+ Author: syd-dap <111357929+syd-dap@users.noreply.github.com>
87
+ Date: Thu Oct 20 10:16:37 2022 +0000
88
+
89
+ Update README.md
90
+
91
+ commit 3a6b0ea68c78a255564d46cf3140cf9dfc3453df
92
+ Author: syd-dap <111357929+syd-dap@users.noreply.github.com>
93
+ Date: Thu Oct 20 10:14:27 2022 +0000
94
+
95
+ Update README.md
96
+
97
+ commit 4fce3e5d327c2c972d2ed6f069e653bf529ed58f
98
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
99
+ Date: Wed Oct 19 18:39:04 2022 +0000
100
+
101
+ removed workflows
102
+
103
+ commit 788521bcdeb97f0bb0d2e5447885d10d5225d462
104
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
105
+ Date: Wed Oct 19 18:35:16 2022 +0000
106
+
107
+ Updated gem name
108
+
109
+ commit 84f7c29465ff3602acbf3ec15b5ba461b820e5f7
110
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
111
+ Date: Wed Oct 19 18:32:17 2022 +0000
112
+
113
+ version update
114
+
115
+ commit e38828c3a4557d10fc5288015712734d07f0d8e9
116
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
117
+ Date: Wed Oct 19 18:31:28 2022 +0000
118
+
119
+ Rename of request method
120
+
121
+ commit b63974fbf150eafb75757346378f99fa6d5814ff
122
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
123
+ Date: Wed Oct 19 18:20:16 2022 +0000
124
+
125
+ code style fixes
126
+
127
+ commit f6acd52ed65b6c3db2f5de36dbab31c6979f3406
128
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
129
+ Date: Wed Oct 19 18:16:39 2022 +0000
130
+
131
+ orchard_anm
132
+
133
+ commit 1fb49cc2a90b72c4e635a2abace354f68be63356
134
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
135
+ Date: Wed Oct 19 17:48:25 2022 +0000
136
+
137
+ .
138
+
139
+ commit 8e19494061fda2c2dee25e70bed3bc82eb8132de
140
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
141
+ Date: Wed Oct 19 17:45:58 2022 +0000
142
+
143
+ .
144
+
145
+ commit df036d2fe8aabf8aef3d31cdddadc25a611a973a
146
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
147
+ Date: Wed Oct 19 17:40:50 2022 +0000
148
+
149
+ .
150
+
151
+ commit 95b8924f7d763bf17beea812fcbf43a069e58086
152
+ Author: Sydney Dapilah <sydney@appsnmobilesolutions.com>
153
+ Date: Wed Oct 19 17:30:20 2022 +0000
154
+
155
+ Initial commit for the gem
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Orchard
4
+ module API
5
+ class CheckWalletBalance < Orchard::API::Base
6
+ def call
7
+ @endpoint = Orchard::API::Constants::CHECK_WALLET_BALANCE
8
+ make_request(:post)
9
+ end
10
+ end
11
+ end
12
+ end
@@ -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
@@ -7,6 +7,7 @@ module Orchard
7
7
  SEND_SMS_ENDPOINT = "/sendSms"
8
8
  SERVICE_LOOKUP_REQUEST_ENDPOINT = "/get_service_lookup_req"
9
9
  CHECK_TRANSACTION_STATUS_ENDPOINT = "/checkTransaction"
10
+ CHECK_WALLET_BALANCE = "/check_wallet_balance"
10
11
  end
11
12
  end
12
13
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchard
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.8"
5
5
  end
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.6
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-24 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -81,9 +81,11 @@ files:
81
81
  - LICENSE.txt
82
82
  - README.md
83
83
  - Rakefile
84
+ - d
84
85
  - lib/orchard.rb
85
86
  - lib/orchard/api/base.rb
86
87
  - lib/orchard/api/check_transaction_status.rb
88
+ - lib/orchard/api/check_wallet_balance.rb
87
89
  - lib/orchard/api/send_payment_request.rb
88
90
  - lib/orchard/api/send_sms.rb
89
91
  - lib/orchard/api/service_lookup_request.rb