bleumi_pay_sdk_ruby 1.0.2 → 1.0.3

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.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +61 -43
  3. data/bleumi_pay_sdk_ruby.gemspec +2 -3
  4. data/docs/BadRequest.md +1 -0
  5. data/docs/Chain.md +11 -0
  6. data/docs/CheckoutToken.md +23 -0
  7. data/docs/CreateCheckoutUrlRequest.md +30 -0
  8. data/docs/CreateCheckoutUrlResponse.md +17 -0
  9. data/docs/CreatePaymentRequest.md +19 -0
  10. data/docs/CreatePaymentResponse.md +15 -0
  11. data/docs/CreatePayoutRequest.md +28 -0
  12. data/docs/CreatePayoutResponse.md +15 -0
  13. data/docs/EthAddress.md +6 -1
  14. data/docs/HostedCheckoutsApi.md +190 -0
  15. data/docs/NetworkBalance.md +29 -0
  16. data/docs/PaginatedPaymentOperations.md +29 -0
  17. data/docs/PaginatedPayments.md +68 -0
  18. data/docs/PaginatedPayoutItems.md +59 -0
  19. data/docs/Payment.md +44 -0
  20. data/docs/PaymentAddresses.md +22 -0
  21. data/docs/PaymentBalances.md +24 -0
  22. data/docs/PaymentOperation.md +46 -0
  23. data/docs/PaymentOperationInputs.md +32 -0
  24. data/docs/PaymentOperationResponse.md +15 -0
  25. data/docs/PaymentRefundRequest.md +16 -0
  26. data/docs/PaymentSettleRequest.md +17 -0
  27. data/docs/PaymentsApi.md +426 -0
  28. data/docs/Payout.md +17 -0
  29. data/docs/PayoutItem.md +39 -0
  30. data/docs/PayoutItemInputs.md +28 -0
  31. data/docs/PayoutsApi.md +137 -0
  32. data/docs/Token.md +15 -0
  33. data/docs/ValidateCheckoutRequest.md +21 -0
  34. data/docs/ValidateCheckoutResponse.md +15 -0
  35. data/docs/WalletAddress.md +14 -0
  36. data/docs/WalletBalance.md +14 -4
  37. data/lib/bleumi_pay_sdk_ruby.rb +32 -15
  38. data/lib/bleumi_pay_sdk_ruby/api/hosted_checkouts_api.rb +200 -0
  39. data/lib/bleumi_pay_sdk_ruby/api/{erc20_payments_api.rb → payments_api.rb} +130 -124
  40. data/lib/bleumi_pay_sdk_ruby/api/payouts_api.rb +157 -0
  41. data/lib/bleumi_pay_sdk_ruby/api_client.rb +2 -2
  42. data/lib/bleumi_pay_sdk_ruby/api_error.rb +2 -2
  43. data/lib/bleumi_pay_sdk_ruby/configuration.rb +2 -2
  44. data/lib/bleumi_pay_sdk_ruby/models/bad_request.rb +13 -3
  45. data/lib/bleumi_pay_sdk_ruby/models/{eth_network.rb → chain.rb} +7 -5
  46. data/lib/bleumi_pay_sdk_ruby/models/checkout_token.rb +272 -0
  47. data/lib/bleumi_pay_sdk_ruby/models/create_checkout_url_request.rb +299 -0
  48. data/lib/bleumi_pay_sdk_ruby/models/create_checkout_url_response.rb +227 -0
  49. data/lib/bleumi_pay_sdk_ruby/models/{wallet_create_input.rb → create_payment_request.rb} +17 -7
  50. data/lib/bleumi_pay_sdk_ruby/models/{wallet_create_output.rb → create_payment_response.rb} +18 -22
  51. data/lib/bleumi_pay_sdk_ruby/models/create_payout_request.rb +243 -0
  52. data/lib/bleumi_pay_sdk_ruby/models/create_payout_response.rb +212 -0
  53. data/lib/bleumi_pay_sdk_ruby/models/eth_address.rb +2 -2
  54. data/lib/bleumi_pay_sdk_ruby/models/network_balance.rb +274 -0
  55. data/lib/bleumi_pay_sdk_ruby/models/paginated_payment_operations.rb +224 -0
  56. data/lib/bleumi_pay_sdk_ruby/models/{paginated_wallet_operations.rb → paginated_payments.rb} +18 -8
  57. data/lib/bleumi_pay_sdk_ruby/models/{paginated_wallets.rb → paginated_payout_items.rb} +18 -8
  58. data/lib/bleumi_pay_sdk_ruby/models/{wallet.rb → payment.rb} +30 -53
  59. data/lib/bleumi_pay_sdk_ruby/models/payment_addresses.rb +209 -0
  60. data/lib/bleumi_pay_sdk_ruby/models/payment_balances.rb +207 -0
  61. data/lib/bleumi_pay_sdk_ruby/models/{wallet_operation.rb → payment_operation.rb} +42 -17
  62. data/lib/bleumi_pay_sdk_ruby/models/{wallet_operation_inputs.rb → payment_operation_inputs.rb} +37 -11
  63. data/lib/bleumi_pay_sdk_ruby/models/{wallet_operation_output.rb → payment_operation_response.rb} +17 -7
  64. data/lib/bleumi_pay_sdk_ruby/models/{wallet_refund_operation_input.rb → payment_refund_request.rb} +17 -7
  65. data/lib/bleumi_pay_sdk_ruby/models/{wallet_settle_operation_input.rb → payment_settle_request.rb} +17 -7
  66. data/lib/bleumi_pay_sdk_ruby/models/payout.rb +227 -0
  67. data/lib/bleumi_pay_sdk_ruby/models/payout_item.rb +286 -0
  68. data/lib/bleumi_pay_sdk_ruby/models/payout_item_inputs.rb +244 -0
  69. data/lib/bleumi_pay_sdk_ruby/models/token.rb +214 -0
  70. data/lib/bleumi_pay_sdk_ruby/models/{wallet_inputs.rb → validate_checkout_request.rb} +57 -62
  71. data/lib/bleumi_pay_sdk_ruby/models/validate_checkout_response.rb +212 -0
  72. data/lib/bleumi_pay_sdk_ruby/models/wallet_address.rb +212 -0
  73. data/lib/bleumi_pay_sdk_ruby/models/wallet_balance.rb +17 -7
  74. data/lib/bleumi_pay_sdk_ruby/version.rb +3 -3
  75. data/spec/api/hosted_checkouts_api_spec.rb +67 -0
  76. data/spec/api/payments_api_spec.rb +122 -0
  77. data/spec/api/payouts_api_spec.rb +61 -0
  78. data/spec/api_client_spec.rb +226 -0
  79. data/spec/configuration_spec.rb +42 -0
  80. data/spec/models/bad_request_spec.rb +47 -0
  81. data/spec/models/chain_spec.rb +35 -0
  82. data/spec/models/checkout_token_spec.rb +65 -0
  83. data/spec/models/create_checkout_url_request_spec.rb +83 -0
  84. data/spec/models/create_checkout_url_response_spec.rb +47 -0
  85. data/spec/models/create_payment_request_spec.rb +53 -0
  86. data/spec/models/create_payment_response_spec.rb +41 -0
  87. data/spec/models/create_payout_request_spec.rb +53 -0
  88. data/spec/models/create_payout_response_spec.rb +41 -0
  89. data/spec/models/eth_address_spec.rb +41 -0
  90. data/spec/models/network_balance_spec.rb +77 -0
  91. data/spec/models/paginated_payment_operations_spec.rb +47 -0
  92. data/spec/models/paginated_payments_spec.rb +47 -0
  93. data/spec/models/paginated_payout_items_spec.rb +47 -0
  94. data/spec/models/payment_addresses_spec.rb +41 -0
  95. data/spec/models/payment_balances_spec.rb +41 -0
  96. data/spec/models/payment_operation_inputs_spec.rb +65 -0
  97. data/spec/models/payment_operation_response_spec.rb +41 -0
  98. data/spec/models/payment_operation_spec.rb +71 -0
  99. data/spec/models/payment_refund_request_spec.rb +41 -0
  100. data/spec/models/payment_settle_request_spec.rb +47 -0
  101. data/spec/models/payment_spec.rb +65 -0
  102. data/spec/models/payout_item_inputs_spec.rb +53 -0
  103. data/spec/models/payout_item_spec.rb +71 -0
  104. data/spec/models/payout_spec.rb +47 -0
  105. data/spec/models/token_spec.rb +41 -0
  106. data/spec/models/validate_checkout_request_spec.rb +59 -0
  107. data/spec/models/validate_checkout_response_spec.rb +41 -0
  108. data/spec/models/wallet_address_spec.rb +41 -0
  109. data/spec/models/wallet_balance_spec.rb +59 -0
  110. data/spec/spec_helper.rb +111 -0
  111. metadata +149 -45
  112. data/docs/Erc20PaymentsApi.md +0 -334
  113. data/docs/EthNetwork.md +0 -9
  114. data/docs/PaginatedWalletOperations.md +0 -8
  115. data/docs/PaginatedWallets.md +0 -8
  116. data/docs/Wallet.md +0 -13
  117. data/docs/WalletCreateInput.md +0 -9
  118. data/docs/WalletCreateOutput.md +0 -10
  119. data/docs/WalletInputs.md +0 -11
  120. data/docs/WalletOperation.md +0 -11
  121. data/docs/WalletOperationInputs.md +0 -10
  122. data/docs/WalletOperationOutput.md +0 -8
  123. data/docs/WalletRefundOperationInput.md +0 -7
  124. data/docs/WalletSettleOperationInput.md +0 -8
@@ -0,0 +1,41 @@
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
@@ -0,0 +1,59 @@
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::ValidateCheckoutRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ValidateCheckoutRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = BleumiPay::ValidateCheckoutRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ValidateCheckoutRequest' do
31
+ it 'should create an instance of ValidateCheckoutRequest' do
32
+ expect(@instance).to be_instance_of(BleumiPay::ValidateCheckoutRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "hmac_input"' 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 "hmac_key_id"' 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 "hmac_alg"' 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 "hmac_value"' 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
+ end
@@ -0,0 +1,41 @@
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::ValidateCheckoutResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ValidateCheckoutResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = BleumiPay::ValidateCheckoutResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ValidateCheckoutResponse' do
31
+ it 'should create an instance of ValidateCheckoutResponse' do
32
+ expect(@instance).to be_instance_of(BleumiPay::ValidateCheckoutResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "valid"' 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
@@ -0,0 +1,41 @@
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::WalletAddress
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'WalletAddress' do
21
+ before do
22
+ # run before each test
23
+ @instance = BleumiPay::WalletAddress.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of WalletAddress' do
31
+ it 'should create an instance of WalletAddress' do
32
+ expect(@instance).to be_instance_of(BleumiPay::WalletAddress)
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
@@ -0,0 +1,59 @@
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::WalletBalance
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'WalletBalance' do
21
+ before do
22
+ # run before each test
23
+ @instance = BleumiPay::WalletBalance.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of WalletBalance' do
31
+ it 'should create an instance of WalletBalance' do
32
+ expect(@instance).to be_instance_of(BleumiPay::WalletBalance)
33
+ end
34
+ end
35
+ describe 'test attribute "balance"' 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 "token_balance"' 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 "token_decimals"' 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 "block_num"' 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
+ end
@@ -0,0 +1,111 @@
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
+ # load the gem
14
+ require 'bleumi_pay_sdk_ruby'
15
+
16
+ # The following was generated by the `rspec --init` command. Conventionally, all
17
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
18
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
19
+ # this file to always be loaded, without a need to explicitly require it in any
20
+ # files.
21
+ #
22
+ # Given that it is always loaded, you are encouraged to keep this file as
23
+ # light-weight as possible. Requiring heavyweight dependencies from this file
24
+ # will add to the boot time of your test suite on EVERY test run, even for an
25
+ # individual file that may not need all of that loaded. Instead, consider making
26
+ # a separate helper file that requires the additional dependencies and performs
27
+ # the additional setup, and require it from the spec files that actually need
28
+ # it.
29
+ #
30
+ # The `.rspec` file also contains a few flags that are not defaults but that
31
+ # users commonly want.
32
+ #
33
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
34
+ RSpec.configure do |config|
35
+ # rspec-expectations config goes here. You can use an alternate
36
+ # assertion/expectation library such as wrong or the stdlib/minitest
37
+ # assertions if you prefer.
38
+ config.expect_with :rspec do |expectations|
39
+ # This option will default to `true` in RSpec 4. It makes the `description`
40
+ # and `failure_message` of custom matchers include text for helper methods
41
+ # defined using `chain`, e.g.:
42
+ # be_bigger_than(2).and_smaller_than(4).description
43
+ # # => "be bigger than 2 and smaller than 4"
44
+ # ...rather than:
45
+ # # => "be bigger than 2"
46
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
47
+ end
48
+
49
+ # rspec-mocks config goes here. You can use an alternate test double
50
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
51
+ config.mock_with :rspec do |mocks|
52
+ # Prevents you from mocking or stubbing a method that does not exist on
53
+ # a real object. This is generally recommended, and will default to
54
+ # `true` in RSpec 4.
55
+ mocks.verify_partial_doubles = true
56
+ end
57
+
58
+ # The settings below are suggested to provide a good initial experience
59
+ # with RSpec, but feel free to customize to your heart's content.
60
+ =begin
61
+ # These two settings work together to allow you to limit a spec run
62
+ # to individual examples or groups you care about by tagging them with
63
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
64
+ # get run.
65
+ config.filter_run :focus
66
+ config.run_all_when_everything_filtered = true
67
+
68
+ # Allows RSpec to persist some state between runs in order to support
69
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
70
+ # you configure your source control system to ignore this file.
71
+ config.example_status_persistence_file_path = "spec/examples.txt"
72
+
73
+ # Limits the available syntax to the non-monkey patched syntax that is
74
+ # recommended. For more details, see:
75
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
76
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
77
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
78
+ config.disable_monkey_patching!
79
+
80
+ # This setting enables warnings. It's recommended, but in some cases may
81
+ # be too noisy due to issues in dependencies.
82
+ config.warnings = true
83
+
84
+ # Many RSpec users commonly either run the entire suite or an individual
85
+ # file, and it's useful to allow more verbose output when running an
86
+ # individual spec file.
87
+ if config.files_to_run.one?
88
+ # Use the documentation formatter for detailed output,
89
+ # unless a formatter has already been configured
90
+ # (e.g. via a command-line flag).
91
+ config.default_formatter = 'doc'
92
+ end
93
+
94
+ # Print the 10 slowest examples and example groups at the
95
+ # end of the spec run, to help surface which specs are running
96
+ # particularly slow.
97
+ config.profile_examples = 10
98
+
99
+ # Run specs in random order to surface order dependencies. If you find an
100
+ # order dependency and want to debug it, you can fix the order by providing
101
+ # the seed, which is printed after each run.
102
+ # --seed 1234
103
+ config.order = :random
104
+
105
+ # Seed global randomization in this process using the `--seed` CLI option.
106
+ # Setting this allows you to use `--seed` to deterministically reproduce
107
+ # test failures related to randomization by passing the same `--seed` value
108
+ # as the one that triggered the failure.
109
+ Kernel.srand config.seed
110
+ =end
111
+ end
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.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bleumi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-12 00:00:00.000000000 Z
11
+ date: 2019-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: 2.1.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
49
  version: 2.1.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '2.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '3.6'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
59
  version: 3.6.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.6'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '3.6'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
69
  version: 3.6.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.6'
73
73
  description: A simple and powerful REST API to integrate ERC20 payments into your
74
74
  business or application
75
75
  email:
@@ -84,47 +84,116 @@ files:
84
84
  - Rakefile
85
85
  - bleumi_pay_sdk_ruby.gemspec
86
86
  - docs/BadRequest.md
87
- - docs/Erc20PaymentsApi.md
87
+ - docs/Chain.md
88
+ - docs/CheckoutToken.md
89
+ - docs/CreateCheckoutUrlRequest.md
90
+ - docs/CreateCheckoutUrlResponse.md
91
+ - docs/CreatePaymentRequest.md
92
+ - docs/CreatePaymentResponse.md
93
+ - docs/CreatePayoutRequest.md
94
+ - docs/CreatePayoutResponse.md
88
95
  - docs/EthAddress.md
89
- - docs/EthNetwork.md
90
- - docs/PaginatedWalletOperations.md
91
- - docs/PaginatedWallets.md
92
- - docs/Wallet.md
96
+ - docs/HostedCheckoutsApi.md
97
+ - docs/NetworkBalance.md
98
+ - docs/PaginatedPaymentOperations.md
99
+ - docs/PaginatedPayments.md
100
+ - docs/PaginatedPayoutItems.md
101
+ - docs/Payment.md
102
+ - docs/PaymentAddresses.md
103
+ - docs/PaymentBalances.md
104
+ - docs/PaymentOperation.md
105
+ - docs/PaymentOperationInputs.md
106
+ - docs/PaymentOperationResponse.md
107
+ - docs/PaymentRefundRequest.md
108
+ - docs/PaymentSettleRequest.md
109
+ - docs/PaymentsApi.md
110
+ - docs/Payout.md
111
+ - docs/PayoutItem.md
112
+ - docs/PayoutItemInputs.md
113
+ - docs/PayoutsApi.md
114
+ - docs/Token.md
115
+ - docs/ValidateCheckoutRequest.md
116
+ - docs/ValidateCheckoutResponse.md
117
+ - docs/WalletAddress.md
93
118
  - docs/WalletBalance.md
94
- - docs/WalletCreateInput.md
95
- - docs/WalletCreateOutput.md
96
- - docs/WalletInputs.md
97
- - docs/WalletOperation.md
98
- - docs/WalletOperationInputs.md
99
- - docs/WalletOperationOutput.md
100
- - docs/WalletRefundOperationInput.md
101
- - docs/WalletSettleOperationInput.md
102
119
  - lib/bleumi_pay_sdk_ruby.rb
103
- - lib/bleumi_pay_sdk_ruby/api/erc20_payments_api.rb
120
+ - lib/bleumi_pay_sdk_ruby/api/hosted_checkouts_api.rb
121
+ - lib/bleumi_pay_sdk_ruby/api/payments_api.rb
122
+ - lib/bleumi_pay_sdk_ruby/api/payouts_api.rb
104
123
  - lib/bleumi_pay_sdk_ruby/api_client.rb
105
124
  - lib/bleumi_pay_sdk_ruby/api_error.rb
106
125
  - lib/bleumi_pay_sdk_ruby/configuration.rb
107
126
  - lib/bleumi_pay_sdk_ruby/models/bad_request.rb
127
+ - lib/bleumi_pay_sdk_ruby/models/chain.rb
128
+ - lib/bleumi_pay_sdk_ruby/models/checkout_token.rb
129
+ - lib/bleumi_pay_sdk_ruby/models/create_checkout_url_request.rb
130
+ - lib/bleumi_pay_sdk_ruby/models/create_checkout_url_response.rb
131
+ - lib/bleumi_pay_sdk_ruby/models/create_payment_request.rb
132
+ - lib/bleumi_pay_sdk_ruby/models/create_payment_response.rb
133
+ - lib/bleumi_pay_sdk_ruby/models/create_payout_request.rb
134
+ - lib/bleumi_pay_sdk_ruby/models/create_payout_response.rb
108
135
  - lib/bleumi_pay_sdk_ruby/models/eth_address.rb
109
- - lib/bleumi_pay_sdk_ruby/models/eth_network.rb
110
- - lib/bleumi_pay_sdk_ruby/models/paginated_wallet_operations.rb
111
- - lib/bleumi_pay_sdk_ruby/models/paginated_wallets.rb
112
- - lib/bleumi_pay_sdk_ruby/models/wallet.rb
136
+ - lib/bleumi_pay_sdk_ruby/models/network_balance.rb
137
+ - lib/bleumi_pay_sdk_ruby/models/paginated_payment_operations.rb
138
+ - lib/bleumi_pay_sdk_ruby/models/paginated_payments.rb
139
+ - lib/bleumi_pay_sdk_ruby/models/paginated_payout_items.rb
140
+ - lib/bleumi_pay_sdk_ruby/models/payment.rb
141
+ - lib/bleumi_pay_sdk_ruby/models/payment_addresses.rb
142
+ - lib/bleumi_pay_sdk_ruby/models/payment_balances.rb
143
+ - lib/bleumi_pay_sdk_ruby/models/payment_operation.rb
144
+ - lib/bleumi_pay_sdk_ruby/models/payment_operation_inputs.rb
145
+ - lib/bleumi_pay_sdk_ruby/models/payment_operation_response.rb
146
+ - lib/bleumi_pay_sdk_ruby/models/payment_refund_request.rb
147
+ - lib/bleumi_pay_sdk_ruby/models/payment_settle_request.rb
148
+ - lib/bleumi_pay_sdk_ruby/models/payout.rb
149
+ - lib/bleumi_pay_sdk_ruby/models/payout_item.rb
150
+ - lib/bleumi_pay_sdk_ruby/models/payout_item_inputs.rb
151
+ - lib/bleumi_pay_sdk_ruby/models/token.rb
152
+ - lib/bleumi_pay_sdk_ruby/models/validate_checkout_request.rb
153
+ - lib/bleumi_pay_sdk_ruby/models/validate_checkout_response.rb
154
+ - lib/bleumi_pay_sdk_ruby/models/wallet_address.rb
113
155
  - lib/bleumi_pay_sdk_ruby/models/wallet_balance.rb
114
- - lib/bleumi_pay_sdk_ruby/models/wallet_create_input.rb
115
- - lib/bleumi_pay_sdk_ruby/models/wallet_create_output.rb
116
- - lib/bleumi_pay_sdk_ruby/models/wallet_inputs.rb
117
- - lib/bleumi_pay_sdk_ruby/models/wallet_operation.rb
118
- - lib/bleumi_pay_sdk_ruby/models/wallet_operation_inputs.rb
119
- - lib/bleumi_pay_sdk_ruby/models/wallet_operation_output.rb
120
- - lib/bleumi_pay_sdk_ruby/models/wallet_refund_operation_input.rb
121
- - lib/bleumi_pay_sdk_ruby/models/wallet_settle_operation_input.rb
122
156
  - lib/bleumi_pay_sdk_ruby/version.rb
157
+ - spec/api/hosted_checkouts_api_spec.rb
158
+ - spec/api/payments_api_spec.rb
159
+ - spec/api/payouts_api_spec.rb
160
+ - spec/api_client_spec.rb
161
+ - spec/configuration_spec.rb
162
+ - spec/models/bad_request_spec.rb
163
+ - spec/models/chain_spec.rb
164
+ - spec/models/checkout_token_spec.rb
165
+ - spec/models/create_checkout_url_request_spec.rb
166
+ - spec/models/create_checkout_url_response_spec.rb
167
+ - spec/models/create_payment_request_spec.rb
168
+ - spec/models/create_payment_response_spec.rb
169
+ - spec/models/create_payout_request_spec.rb
170
+ - spec/models/create_payout_response_spec.rb
171
+ - spec/models/eth_address_spec.rb
172
+ - spec/models/network_balance_spec.rb
173
+ - spec/models/paginated_payment_operations_spec.rb
174
+ - spec/models/paginated_payments_spec.rb
175
+ - spec/models/paginated_payout_items_spec.rb
176
+ - spec/models/payment_addresses_spec.rb
177
+ - spec/models/payment_balances_spec.rb
178
+ - spec/models/payment_operation_inputs_spec.rb
179
+ - spec/models/payment_operation_response_spec.rb
180
+ - spec/models/payment_operation_spec.rb
181
+ - spec/models/payment_refund_request_spec.rb
182
+ - spec/models/payment_settle_request_spec.rb
183
+ - spec/models/payment_spec.rb
184
+ - spec/models/payout_item_inputs_spec.rb
185
+ - spec/models/payout_item_spec.rb
186
+ - spec/models/payout_spec.rb
187
+ - spec/models/token_spec.rb
188
+ - spec/models/validate_checkout_request_spec.rb
189
+ - spec/models/validate_checkout_response_spec.rb
190
+ - spec/models/wallet_address_spec.rb
191
+ - spec/models/wallet_balance_spec.rb
192
+ - spec/spec_helper.rb
123
193
  homepage: https://pay.bleumi.com/
124
194
  licenses:
125
195
  - MIT
126
- metadata:
127
- source_code_uri: https://github.com/bleumi/bleumi-pay-sdk-ruby
196
+ metadata: {}
128
197
  post_install_message:
129
198
  rdoc_options: []
130
199
  require_paths:
@@ -140,9 +209,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
209
  - !ruby/object:Gem::Version
141
210
  version: '0'
142
211
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.7.6.2
212
+ rubygems_version: 3.0.6
145
213
  signing_key:
146
214
  specification_version: 4
147
215
  summary: Bleumi Pay API Ruby Gem
148
- test_files: []
216
+ test_files:
217
+ - spec/api/payments_api_spec.rb
218
+ - spec/api/hosted_checkouts_api_spec.rb
219
+ - spec/api/payouts_api_spec.rb
220
+ - spec/api_client_spec.rb
221
+ - spec/configuration_spec.rb
222
+ - spec/models/bad_request_spec.rb
223
+ - spec/models/validate_checkout_request_spec.rb
224
+ - spec/models/token_spec.rb
225
+ - spec/models/payment_operation_inputs_spec.rb
226
+ - spec/models/payment_refund_request_spec.rb
227
+ - spec/models/checkout_token_spec.rb
228
+ - spec/models/payment_addresses_spec.rb
229
+ - spec/models/create_payment_response_spec.rb
230
+ - spec/models/payout_item_inputs_spec.rb
231
+ - spec/models/network_balance_spec.rb
232
+ - spec/models/payment_operation_spec.rb
233
+ - spec/models/wallet_address_spec.rb
234
+ - spec/models/wallet_balance_spec.rb
235
+ - spec/models/create_payout_request_spec.rb
236
+ - spec/models/paginated_payment_operations_spec.rb
237
+ - spec/models/payment_operation_response_spec.rb
238
+ - spec/models/create_checkout_url_request_spec.rb
239
+ - spec/models/validate_checkout_response_spec.rb
240
+ - spec/models/payment_settle_request_spec.rb
241
+ - spec/models/create_payout_response_spec.rb
242
+ - spec/models/payout_item_spec.rb
243
+ - spec/models/create_checkout_url_response_spec.rb
244
+ - spec/models/payment_spec.rb
245
+ - spec/models/paginated_payout_items_spec.rb
246
+ - spec/models/create_payment_request_spec.rb
247
+ - spec/models/payment_balances_spec.rb
248
+ - spec/models/paginated_payments_spec.rb
249
+ - spec/models/payout_spec.rb
250
+ - spec/models/chain_spec.rb
251
+ - spec/models/eth_address_spec.rb
252
+ - spec/spec_helper.rb