bleumi_pay_sdk_ruby 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/bleumi_pay_sdk_ruby.gemspec +4 -4
- data/docs/AlgorandWalletAddress.md +24 -0
- data/docs/AlgorandWalletInputs.md +23 -0
- data/docs/CheckoutToken.md +2 -0
- data/docs/EthereumWalletAddress.md +23 -0
- data/docs/EthereumWalletInputs.md +23 -0
- data/docs/HostedCheckoutsApi.md +2 -4
- data/docs/PaginatedPayments.md +51 -28
- data/docs/Payment.md +32 -10
- data/docs/PaymentAddresses.md +24 -8
- data/docs/PaymentBalances.md +15 -7
- data/docs/PaymentsApi.md +3 -0
- data/hc_create.rb +33 -0
- data/hc_list.rb +17 -0
- data/hc_validate.rb +22 -0
- data/lib/bleumi_pay_sdk_ruby.rb +4 -1
- data/lib/bleumi_pay_sdk_ruby/api/payments_api.rb +2 -2
- data/lib/bleumi_pay_sdk_ruby/api/payouts_api.rb +1 -1
- data/lib/bleumi_pay_sdk_ruby/configuration.rb +6 -3
- data/lib/bleumi_pay_sdk_ruby/models/{wallet_address.rb → algorand_wallet_address.rb} +18 -9
- data/lib/bleumi_pay_sdk_ruby/models/algorand_wallet_inputs.rb +247 -0
- data/lib/bleumi_pay_sdk_ruby/models/checkout_token.rb +19 -4
- data/lib/bleumi_pay_sdk_ruby/models/create_checkout_url_request.rb +2 -1
- data/lib/bleumi_pay_sdk_ruby/models/ethereum_wallet_address.rb +221 -0
- data/lib/bleumi_pay_sdk_ruby/models/ethereum_wallet_inputs.rb +247 -0
- data/lib/bleumi_pay_sdk_ruby/models/payment_addresses.rb +2 -2
- data/lib/bleumi_pay_sdk_ruby/version.rb +1 -1
- data/po_create.rb +39 -0
- data/po_list.rb +23 -0
- data/py_create.rb +2 -2
- data/py_get.rb +18 -0
- data/py_getop.rb +19 -0
- data/py_list.rb +24 -0
- data/py_listops.rb +21 -0
- data/py_refund.rb +33 -0
- data/py_settle.rb +32 -0
- data/spec/api/hosted_checkouts_api_spec.rb +1 -1
- data/spec/api/payments_api_spec.rb +7 -6
- data/spec/models/algorand_wallet_address_spec.rb +47 -0
- data/spec/models/{network_balance_spec.rb → algorand_wallet_inputs_spec.rb} +14 -26
- data/spec/models/checkout_token_spec.rb +13 -1
- data/spec/models/create_checkout_url_request_spec.rb +6 -0
- data/spec/models/create_payment_request_spec.rb +6 -0
- data/spec/models/ethereum_wallet_address_spec.rb +47 -0
- data/spec/models/ethereum_wallet_inputs_spec.rb +65 -0
- data/spec/models/payment_addresses_spec.rb +6 -0
- data/spec/models/payment_balances_spec.rb +6 -0
- data/spec/models/payout_spec.rb +6 -0
- metadata +33 -15
- data/docs/WalletAddress.md +0 -15
- data/spec/models/eth_address_spec.rb +0 -41
- data/spec/models/token_spec.rb +0 -41
- data/spec/models/wallet_address_spec.rb +0 -41
@@ -32,13 +32,19 @@ describe 'CheckoutToken' do
|
|
32
32
|
expect(@instance).to be_instance_of(BleumiPay::CheckoutToken)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "network"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
describe 'test attribute "chain"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
44
|
end
|
39
45
|
end
|
40
46
|
|
41
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "addr"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
50
|
end
|
@@ -62,4 +68,10 @@ describe 'CheckoutToken' do
|
|
62
68
|
end
|
63
69
|
end
|
64
70
|
|
71
|
+
describe 'test attribute "currency"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
65
77
|
end
|
@@ -38,6 +38,12 @@ describe 'CreatePaymentRequest' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "token"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "buyer_address"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Bleumi Pay REST API
|
3
|
+
|
4
|
+
#A simple and powerful REST API to integrate Algorand, Ethereum, ERC-20 and xDai payments and/or payouts into your business
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: info@bleumi.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BleumiPay::EthereumWalletAddress
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'EthereumWalletAddress' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BleumiPay::EthereumWalletAddress.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of EthereumWalletAddress' do
|
31
|
+
it 'should create an instance of EthereumWalletAddress' do
|
32
|
+
expect(@instance).to be_instance_of(BleumiPay::EthereumWalletAddress)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "addr"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "inputs"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Bleumi Pay REST API
|
3
|
+
|
4
|
+
#A simple and powerful REST API to integrate Algorand, Ethereum, ERC-20 and xDai payments and/or payouts into your business
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: info@bleumi.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BleumiPay::EthereumWalletInputs
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'EthereumWalletInputs' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BleumiPay::EthereumWalletInputs.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of EthereumWalletInputs' do
|
31
|
+
it 'should create an instance of EthereumWalletInputs' do
|
32
|
+
expect(@instance).to be_instance_of(BleumiPay::EthereumWalletInputs)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "buyer"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "merchant"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "salt"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "wallet_library"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "wallet_proxy"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
data/spec/models/payout_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bleumi_pay_sdk_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bleumi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -70,8 +70,8 @@ dependencies:
|
|
70
70
|
- - "~>"
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '3.6'
|
73
|
-
description:
|
74
|
-
|
73
|
+
description: bleumi_pay_sdk_ruby is a Ruby library that provides an interface between
|
74
|
+
your Ruby application and Bleumi Pay API.
|
75
75
|
email:
|
76
76
|
- info@bleumi.com
|
77
77
|
executables: []
|
@@ -84,6 +84,8 @@ files:
|
|
84
84
|
- Rakefile
|
85
85
|
- bleumi_pay_sdk_ruby.gemspec
|
86
86
|
- docs/AlgorandBalance.md
|
87
|
+
- docs/AlgorandWalletAddress.md
|
88
|
+
- docs/AlgorandWalletInputs.md
|
87
89
|
- docs/BadRequest.md
|
88
90
|
- docs/Chain.md
|
89
91
|
- docs/CheckoutToken.md
|
@@ -94,6 +96,8 @@ files:
|
|
94
96
|
- docs/CreatePayoutRequest.md
|
95
97
|
- docs/CreatePayoutResponse.md
|
96
98
|
- docs/EthereumBalance.md
|
99
|
+
- docs/EthereumWalletAddress.md
|
100
|
+
- docs/EthereumWalletInputs.md
|
97
101
|
- docs/HostedCheckoutsApi.md
|
98
102
|
- docs/PaginatedPaymentOperations.md
|
99
103
|
- docs/PaginatedPayments.md
|
@@ -113,8 +117,10 @@ files:
|
|
113
117
|
- docs/PayoutsApi.md
|
114
118
|
- docs/ValidateCheckoutRequest.md
|
115
119
|
- docs/ValidateCheckoutResponse.md
|
116
|
-
- docs/WalletAddress.md
|
117
120
|
- docs/WalletBalance.md
|
121
|
+
- hc_create.rb
|
122
|
+
- hc_list.rb
|
123
|
+
- hc_validate.rb
|
118
124
|
- lib/bleumi_pay_sdk_ruby.rb
|
119
125
|
- lib/bleumi_pay_sdk_ruby/api/hosted_checkouts_api.rb
|
120
126
|
- lib/bleumi_pay_sdk_ruby/api/payments_api.rb
|
@@ -124,6 +130,8 @@ files:
|
|
124
130
|
- lib/bleumi_pay_sdk_ruby/api_error.rb
|
125
131
|
- lib/bleumi_pay_sdk_ruby/configuration.rb
|
126
132
|
- lib/bleumi_pay_sdk_ruby/models/algorand_balance.rb
|
133
|
+
- lib/bleumi_pay_sdk_ruby/models/algorand_wallet_address.rb
|
134
|
+
- lib/bleumi_pay_sdk_ruby/models/algorand_wallet_inputs.rb
|
127
135
|
- lib/bleumi_pay_sdk_ruby/models/bad_request.rb
|
128
136
|
- lib/bleumi_pay_sdk_ruby/models/chain.rb
|
129
137
|
- lib/bleumi_pay_sdk_ruby/models/checkout_token.rb
|
@@ -134,6 +142,8 @@ files:
|
|
134
142
|
- lib/bleumi_pay_sdk_ruby/models/create_payout_request.rb
|
135
143
|
- lib/bleumi_pay_sdk_ruby/models/create_payout_response.rb
|
136
144
|
- lib/bleumi_pay_sdk_ruby/models/ethereum_balance.rb
|
145
|
+
- lib/bleumi_pay_sdk_ruby/models/ethereum_wallet_address.rb
|
146
|
+
- lib/bleumi_pay_sdk_ruby/models/ethereum_wallet_inputs.rb
|
137
147
|
- lib/bleumi_pay_sdk_ruby/models/paginated_payment_operations.rb
|
138
148
|
- lib/bleumi_pay_sdk_ruby/models/paginated_payments.rb
|
139
149
|
- lib/bleumi_pay_sdk_ruby/models/paginated_payout_items.rb
|
@@ -150,16 +160,25 @@ files:
|
|
150
160
|
- lib/bleumi_pay_sdk_ruby/models/payout_item_inputs.rb
|
151
161
|
- lib/bleumi_pay_sdk_ruby/models/validate_checkout_request.rb
|
152
162
|
- lib/bleumi_pay_sdk_ruby/models/validate_checkout_response.rb
|
153
|
-
- lib/bleumi_pay_sdk_ruby/models/wallet_address.rb
|
154
163
|
- lib/bleumi_pay_sdk_ruby/models/wallet_balance.rb
|
155
164
|
- lib/bleumi_pay_sdk_ruby/version.rb
|
165
|
+
- po_create.rb
|
166
|
+
- po_list.rb
|
156
167
|
- py_create.rb
|
168
|
+
- py_get.rb
|
169
|
+
- py_getop.rb
|
170
|
+
- py_list.rb
|
171
|
+
- py_listops.rb
|
172
|
+
- py_refund.rb
|
173
|
+
- py_settle.rb
|
157
174
|
- spec/api/hosted_checkouts_api_spec.rb
|
158
175
|
- spec/api/payments_api_spec.rb
|
159
176
|
- spec/api/payouts_api_spec.rb
|
160
177
|
- spec/api_client_spec.rb
|
161
178
|
- spec/configuration_spec.rb
|
162
179
|
- spec/models/algorand_balance_spec.rb
|
180
|
+
- spec/models/algorand_wallet_address_spec.rb
|
181
|
+
- spec/models/algorand_wallet_inputs_spec.rb
|
163
182
|
- spec/models/bad_request_spec.rb
|
164
183
|
- spec/models/chain_spec.rb
|
165
184
|
- spec/models/checkout_token_spec.rb
|
@@ -169,9 +188,9 @@ files:
|
|
169
188
|
- spec/models/create_payment_response_spec.rb
|
170
189
|
- spec/models/create_payout_request_spec.rb
|
171
190
|
- spec/models/create_payout_response_spec.rb
|
172
|
-
- spec/models/eth_address_spec.rb
|
173
191
|
- spec/models/ethereum_balance_spec.rb
|
174
|
-
- spec/models/
|
192
|
+
- spec/models/ethereum_wallet_address_spec.rb
|
193
|
+
- spec/models/ethereum_wallet_inputs_spec.rb
|
175
194
|
- spec/models/paginated_payment_operations_spec.rb
|
176
195
|
- spec/models/paginated_payments_spec.rb
|
177
196
|
- spec/models/paginated_payout_items_spec.rb
|
@@ -186,10 +205,8 @@ files:
|
|
186
205
|
- spec/models/payout_item_inputs_spec.rb
|
187
206
|
- spec/models/payout_item_spec.rb
|
188
207
|
- spec/models/payout_spec.rb
|
189
|
-
- spec/models/token_spec.rb
|
190
208
|
- spec/models/validate_checkout_request_spec.rb
|
191
209
|
- spec/models/validate_checkout_response_spec.rb
|
192
|
-
- spec/models/wallet_address_spec.rb
|
193
210
|
- spec/models/wallet_balance_spec.rb
|
194
211
|
- spec/spec_helper.rb
|
195
212
|
homepage: https://pay.bleumi.com/
|
@@ -214,7 +231,8 @@ requirements: []
|
|
214
231
|
rubygems_version: 3.0.6
|
215
232
|
signing_key:
|
216
233
|
specification_version: 4
|
217
|
-
summary: Bleumi Pay
|
234
|
+
summary: The Bleumi Pay SDK is a one-stop shop to help you integrate Algorand, Ethereum,
|
235
|
+
ERC-20 and xDai payments and/or payouts into your business.
|
218
236
|
test_files:
|
219
237
|
- spec/api/payments_api_spec.rb
|
220
238
|
- spec/api/hosted_checkouts_api_spec.rb
|
@@ -223,18 +241,17 @@ test_files:
|
|
223
241
|
- spec/configuration_spec.rb
|
224
242
|
- spec/models/bad_request_spec.rb
|
225
243
|
- spec/models/validate_checkout_request_spec.rb
|
226
|
-
- spec/models/
|
244
|
+
- spec/models/algorand_wallet_address_spec.rb
|
227
245
|
- spec/models/payment_operation_inputs_spec.rb
|
228
246
|
- spec/models/payment_refund_request_spec.rb
|
229
247
|
- spec/models/checkout_token_spec.rb
|
230
248
|
- spec/models/payment_addresses_spec.rb
|
231
249
|
- spec/models/create_payment_response_spec.rb
|
232
250
|
- spec/models/payout_item_inputs_spec.rb
|
233
|
-
- spec/models/network_balance_spec.rb
|
234
251
|
- spec/models/payment_operation_spec.rb
|
235
252
|
- spec/models/algorand_balance_spec.rb
|
236
253
|
- spec/models/ethereum_balance_spec.rb
|
237
|
-
- spec/models/
|
254
|
+
- spec/models/ethereum_wallet_inputs_spec.rb
|
238
255
|
- spec/models/wallet_balance_spec.rb
|
239
256
|
- spec/models/create_payout_request_spec.rb
|
240
257
|
- spec/models/paginated_payment_operations_spec.rb
|
@@ -243,14 +260,15 @@ test_files:
|
|
243
260
|
- spec/models/validate_checkout_response_spec.rb
|
244
261
|
- spec/models/payment_settle_request_spec.rb
|
245
262
|
- spec/models/create_payout_response_spec.rb
|
263
|
+
- spec/models/ethereum_wallet_address_spec.rb
|
246
264
|
- spec/models/payout_item_spec.rb
|
247
265
|
- spec/models/create_checkout_url_response_spec.rb
|
248
266
|
- spec/models/payment_spec.rb
|
249
267
|
- spec/models/paginated_payout_items_spec.rb
|
268
|
+
- spec/models/algorand_wallet_inputs_spec.rb
|
250
269
|
- spec/models/create_payment_request_spec.rb
|
251
270
|
- spec/models/payment_balances_spec.rb
|
252
271
|
- spec/models/paginated_payments_spec.rb
|
253
272
|
- spec/models/payout_spec.rb
|
254
273
|
- spec/models/chain_spec.rb
|
255
|
-
- spec/models/eth_address_spec.rb
|
256
274
|
- spec/spec_helper.rb
|
data/docs/WalletAddress.md
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# BleumiPay::WalletAddress
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**addr** | **String** | Wallet address for the payment in the network |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```json
|
12
|
-
{
|
13
|
-
"addr": "0xbe1fa332f24ba568108ba55a25eccf93d882f54e"
|
14
|
-
}
|
15
|
-
```
|
@@ -1,41 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Bleumi Pay API
|
3
|
-
|
4
|
-
#A simple and powerful REST API to integrate ERC-20, Ethereum, xDai payments and/or payouts into your business or application
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
Contact: info@bleumi.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.2
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for BleumiPay::EthAddress
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'EthAddress' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = BleumiPay::EthAddress.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of EthAddress' do
|
31
|
-
it 'should create an instance of EthAddress' do
|
32
|
-
expect(@instance).to be_instance_of(BleumiPay::EthAddress)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "addr"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
end
|
data/spec/models/token_spec.rb
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Bleumi Pay API
|
3
|
-
|
4
|
-
#A simple and powerful REST API to integrate ERC-20, Ethereum, xDai payments and/or payouts into your business or application
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
Contact: info@bleumi.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.2
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for BleumiPay::Token
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'Token' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = BleumiPay::Token.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of Token' do
|
31
|
-
it 'should create an instance of Token' do
|
32
|
-
expect(@instance).to be_instance_of(BleumiPay::Token)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "addr"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
end
|