sky_api 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +190 -0
  4. data/Rakefile +10 -0
  5. data/docs/Address.md +17 -0
  6. data/docs/ApiV1PendingTxsTransaction.md +29 -0
  7. data/docs/ApiV1PendingTxsTransactionOutputs.md +23 -0
  8. data/docs/BlockSchema.md +21 -0
  9. data/docs/BlockSchemaBody.md +17 -0
  10. data/docs/BlockVerboseSchema.md +21 -0
  11. data/docs/BlockVerboseSchemaBody.md +17 -0
  12. data/docs/BlockVerboseSchemaHeader.md +31 -0
  13. data/docs/DefaultApi.md +2767 -0
  14. data/docs/InlineResponse200.md +17 -0
  15. data/docs/InlineResponse2001.md +17 -0
  16. data/docs/InlineResponse20010.md +25 -0
  17. data/docs/InlineResponse2002.md +29 -0
  18. data/docs/InlineResponse2003.md +17 -0
  19. data/docs/InlineResponse2004.md +17 -0
  20. data/docs/InlineResponse2005.md +21 -0
  21. data/docs/InlineResponse2006.md +17 -0
  22. data/docs/InlineResponse2007.md +17 -0
  23. data/docs/InlineResponse2008.md +17 -0
  24. data/docs/InlineResponse2008Data.md +17 -0
  25. data/docs/InlineResponse2009.md +17 -0
  26. data/docs/InlineResponseDefault.md +19 -0
  27. data/docs/NetworkConnectionSchema.md +41 -0
  28. data/docs/NetworkConnectionSchemaUnconfirmedVerifyTransaction.md +21 -0
  29. data/docs/Transaction.md +21 -0
  30. data/docs/TransactionEncoded.md +25 -0
  31. data/docs/TransactionEncodedS.md +21 -0
  32. data/docs/TransactionStatus.md +23 -0
  33. data/docs/TransactionTxn.md +31 -0
  34. data/docs/TransactionV2ParamsAddress.md +17 -0
  35. data/docs/TransactionV2ParamsAddressHoursSelection.md +17 -0
  36. data/docs/TransactionV2ParamsUnspent.md +23 -0
  37. data/docs/TransactionV2ParamsUnspentHoursSelection.md +21 -0
  38. data/docs/TransactionV2ParamsUnspentTo.md +19 -0
  39. data/docs/TransactionVerbose.md +21 -0
  40. data/docs/TransactionVerboseTxn.md +35 -0
  41. data/docs/TransactionVerboseTxnInputs.md +25 -0
  42. data/docs/TransactionVerifyRequest.md +19 -0
  43. data/docs/WalletTransactionRequest.md +25 -0
  44. data/docs/WalletTransactionRequestHoursSelection.md +21 -0
  45. data/docs/WalletTransactionRequestWallet.md +23 -0
  46. data/docs/WalletTransactionSignRequest.md +23 -0
  47. data/git_push.sh +55 -0
  48. data/lib/sky_api.rb +81 -0
  49. data/lib/sky_api/api/default_api.rb +3371 -0
  50. data/lib/sky_api/api_client.rb +387 -0
  51. data/lib/sky_api/api_error.rb +57 -0
  52. data/lib/sky_api/configuration.rb +259 -0
  53. data/lib/sky_api/models/address.rb +201 -0
  54. data/lib/sky_api/models/api_v1_pending_txs_transaction.rb +256 -0
  55. data/lib/sky_api/models/api_v1_pending_txs_transaction_outputs.rb +223 -0
  56. data/lib/sky_api/models/block_schema.rb +214 -0
  57. data/lib/sky_api/models/block_schema_body.rb +198 -0
  58. data/lib/sky_api/models/block_verbose_schema.rb +214 -0
  59. data/lib/sky_api/models/block_verbose_schema_body.rb +198 -0
  60. data/lib/sky_api/models/block_verbose_schema_header.rb +259 -0
  61. data/lib/sky_api/models/inline_response200.rb +196 -0
  62. data/lib/sky_api/models/inline_response2001.rb +198 -0
  63. data/lib/sky_api/models/inline_response20010.rb +232 -0
  64. data/lib/sky_api/models/inline_response2002.rb +261 -0
  65. data/lib/sky_api/models/inline_response2003.rb +196 -0
  66. data/lib/sky_api/models/inline_response2004.rb +198 -0
  67. data/lib/sky_api/models/inline_response2005.rb +217 -0
  68. data/lib/sky_api/models/inline_response2006.rb +198 -0
  69. data/lib/sky_api/models/inline_response2007.rb +196 -0
  70. data/lib/sky_api/models/inline_response2008.rb +196 -0
  71. data/lib/sky_api/models/inline_response2008_data.rb +196 -0
  72. data/lib/sky_api/models/inline_response2009.rb +196 -0
  73. data/lib/sky_api/models/inline_response_default.rb +205 -0
  74. data/lib/sky_api/models/network_connection_schema.rb +338 -0
  75. data/lib/sky_api/models/network_connection_schema_unconfirmed_verify_transaction.rb +215 -0
  76. data/lib/sky_api/models/transaction.rb +214 -0
  77. data/lib/sky_api/models/transaction_encoded.rb +232 -0
  78. data/lib/sky_api/models/transaction_encoded_s.rb +214 -0
  79. data/lib/sky_api/models/transaction_status.rb +225 -0
  80. data/lib/sky_api/models/transaction_txn.rb +266 -0
  81. data/lib/sky_api/models/transaction_v2_params_address.rb +196 -0
  82. data/lib/sky_api/models/transaction_v2_params_address_hours_selection.rb +196 -0
  83. data/lib/sky_api/models/transaction_v2_params_unspent.rb +227 -0
  84. data/lib/sky_api/models/transaction_v2_params_unspent_hours_selection.rb +214 -0
  85. data/lib/sky_api/models/transaction_v2_params_unspent_to.rb +205 -0
  86. data/lib/sky_api/models/transaction_verbose.rb +214 -0
  87. data/lib/sky_api/models/transaction_verbose_txn.rb +284 -0
  88. data/lib/sky_api/models/transaction_verbose_txn_inputs.rb +232 -0
  89. data/lib/sky_api/models/transaction_verify_request.rb +205 -0
  90. data/lib/sky_api/models/wallet_transaction_request.rb +234 -0
  91. data/lib/sky_api/models/wallet_transaction_request_hours_selection.rb +214 -0
  92. data/lib/sky_api/models/wallet_transaction_request_wallet.rb +227 -0
  93. data/lib/sky_api/models/wallet_transaction_sign_request.rb +225 -0
  94. data/lib/sky_api/version.rb +15 -0
  95. data/sky_api.gemspec +45 -0
  96. data/spec/api/default_api_spec.rb +652 -0
  97. data/spec/api_client_spec.rb +226 -0
  98. data/spec/configuration_spec.rb +42 -0
  99. data/spec/models/address_spec.rb +41 -0
  100. data/spec/models/api_v1_pending_txs_transaction_outputs_spec.rb +59 -0
  101. data/spec/models/api_v1_pending_txs_transaction_spec.rb +77 -0
  102. data/spec/models/block_schema_body_spec.rb +41 -0
  103. data/spec/models/block_schema_spec.rb +53 -0
  104. data/spec/models/block_verbose_schema_body_spec.rb +41 -0
  105. data/spec/models/block_verbose_schema_header_spec.rb +83 -0
  106. data/spec/models/block_verbose_schema_spec.rb +53 -0
  107. data/spec/models/inline_response20010_spec.rb +65 -0
  108. data/spec/models/inline_response2001_spec.rb +41 -0
  109. data/spec/models/inline_response2002_spec.rb +77 -0
  110. data/spec/models/inline_response2003_spec.rb +41 -0
  111. data/spec/models/inline_response2004_spec.rb +41 -0
  112. data/spec/models/inline_response2005_spec.rb +53 -0
  113. data/spec/models/inline_response2006_spec.rb +41 -0
  114. data/spec/models/inline_response2007_spec.rb +41 -0
  115. data/spec/models/inline_response2008_data_spec.rb +41 -0
  116. data/spec/models/inline_response2008_spec.rb +41 -0
  117. data/spec/models/inline_response2009_spec.rb +41 -0
  118. data/spec/models/inline_response200_spec.rb +41 -0
  119. data/spec/models/inline_response_default_spec.rb +47 -0
  120. data/spec/models/network_connection_schema_spec.rb +117 -0
  121. data/spec/models/network_connection_schema_unconfirmed_verify_transaction_spec.rb +53 -0
  122. data/spec/models/transaction_encoded_s_spec.rb +53 -0
  123. data/spec/models/transaction_encoded_spec.rb +65 -0
  124. data/spec/models/transaction_spec.rb +53 -0
  125. data/spec/models/transaction_status_spec.rb +59 -0
  126. data/spec/models/transaction_txn_spec.rb +83 -0
  127. data/spec/models/transaction_v2_params_address_hours_selection_spec.rb +41 -0
  128. data/spec/models/transaction_v2_params_address_spec.rb +41 -0
  129. data/spec/models/transaction_v2_params_unspent_hours_selection_spec.rb +53 -0
  130. data/spec/models/transaction_v2_params_unspent_spec.rb +59 -0
  131. data/spec/models/transaction_v2_params_unspent_to_spec.rb +47 -0
  132. data/spec/models/transaction_verbose_spec.rb +53 -0
  133. data/spec/models/transaction_verbose_txn_inputs_spec.rb +65 -0
  134. data/spec/models/transaction_verbose_txn_spec.rb +95 -0
  135. data/spec/models/transaction_verify_request_spec.rb +47 -0
  136. data/spec/models/wallet_transaction_request_hours_selection_spec.rb +53 -0
  137. data/spec/models/wallet_transaction_request_spec.rb +65 -0
  138. data/spec/models/wallet_transaction_request_wallet_spec.rb +59 -0
  139. data/spec/models/wallet_transaction_sign_request_spec.rb +59 -0
  140. data/spec/spec_helper.rb +111 -0
  141. metadata +407 -0
@@ -0,0 +1,17 @@
1
+ # SkyApi::TransactionV2ParamsAddress
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **hours_selection** | [**TransactionV2ParamsAddressHoursSelection**](TransactionV2ParamsAddressHoursSelection.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'SkyApi'
13
+
14
+ instance = SkyApi::TransactionV2ParamsAddress.new(hours_selection: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,17 @@
1
+ # SkyApi::TransactionV2ParamsAddressHoursSelection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **type** | **String** | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'SkyApi'
13
+
14
+ instance = SkyApi::TransactionV2ParamsAddressHoursSelection.new(type: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,23 @@
1
+ # SkyApi::TransactionV2ParamsUnspent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **hours_selection** | [**TransactionV2ParamsUnspentHoursSelection**](TransactionV2ParamsUnspentHoursSelection.md) | | [optional]
8
+ **unspents** | **Array<String>** | | [optional]
9
+ **change_address** | **String** | | [optional]
10
+ **to** | [**Array<TransactionV2ParamsUnspentTo>**](TransactionV2ParamsUnspentTo.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'SkyApi'
16
+
17
+ instance = SkyApi::TransactionV2ParamsUnspent.new(hours_selection: null,
18
+ unspents: null,
19
+ change_address: null,
20
+ to: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,21 @@
1
+ # SkyApi::TransactionV2ParamsUnspentHoursSelection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **type** | **String** | | [optional]
8
+ **mode** | **String** | | [optional]
9
+ **share_factor** | **String** | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'SkyApi'
15
+
16
+ instance = SkyApi::TransactionV2ParamsUnspentHoursSelection.new(type: null,
17
+ mode: null,
18
+ share_factor: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,19 @@
1
+ # SkyApi::TransactionV2ParamsUnspentTo
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | | [optional]
8
+ **coins** | **String** | | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'SkyApi'
14
+
15
+ instance = SkyApi::TransactionV2ParamsUnspentTo.new(address: null,
16
+ coins: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,21 @@
1
+ # SkyApi::TransactionVerbose
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **time** | **Integer** | | [optional]
8
+ **status** | [**TransactionStatus**](TransactionStatus.md) | | [optional]
9
+ **txn** | [**TransactionVerboseTxn**](TransactionVerboseTxn.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'SkyApi'
15
+
16
+ instance = SkyApi::TransactionVerbose.new(time: null,
17
+ status: null,
18
+ txn: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,35 @@
1
+ # SkyApi::TransactionVerboseTxn
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **status** | [**TransactionStatus**](TransactionStatus.md) | | [optional]
8
+ **fee** | **Integer** | | [optional]
9
+ **inner_hash** | **String** | | [optional]
10
+ **inputs** | [**Array<TransactionVerboseTxnInputs>**](TransactionVerboseTxnInputs.md) | | [optional]
11
+ **length** | **Integer** | | [optional]
12
+ **outputs** | **Array<Object>** | | [optional]
13
+ **sigs** | **Array<String>** | | [optional]
14
+ **timestamp** | **Integer** | | [optional]
15
+ **txid** | **String** | | [optional]
16
+ **type** | **Integer** | | [optional]
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'SkyApi'
22
+
23
+ instance = SkyApi::TransactionVerboseTxn.new(status: null,
24
+ fee: null,
25
+ inner_hash: null,
26
+ inputs: null,
27
+ length: null,
28
+ outputs: null,
29
+ sigs: null,
30
+ timestamp: null,
31
+ txid: null,
32
+ type: null)
33
+ ```
34
+
35
+
@@ -0,0 +1,25 @@
1
+ # SkyApi::TransactionVerboseTxnInputs
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **uxid** | **String** | | [optional]
8
+ **owner** | **String** | | [optional]
9
+ **coins** | **String** | | [optional]
10
+ **hours** | **Integer** | | [optional]
11
+ **calculated_hours** | **Integer** | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'SkyApi'
17
+
18
+ instance = SkyApi::TransactionVerboseTxnInputs.new(uxid: null,
19
+ owner: null,
20
+ coins: null,
21
+ hours: null,
22
+ calculated_hours: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,19 @@
1
+ # SkyApi::TransactionVerifyRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **unsigned** | **Boolean** | | [optional]
8
+ **encoded_transaction** | **String** | | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'SkyApi'
14
+
15
+ instance = SkyApi::TransactionVerifyRequest.new(unsigned: null,
16
+ encoded_transaction: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,25 @@
1
+ # SkyApi::WalletTransactionRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **change_address** | **String** | | [optional]
8
+ **hours_selection** | [**WalletTransactionRequestHoursSelection**](WalletTransactionRequestHoursSelection.md) | | [optional]
9
+ **ignore_unconfirmed** | **Boolean** | | [optional]
10
+ **to** | **Array<Object>** | | [optional]
11
+ **wallet** | [**WalletTransactionRequestWallet**](WalletTransactionRequestWallet.md) | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'SkyApi'
17
+
18
+ instance = SkyApi::WalletTransactionRequest.new(change_address: null,
19
+ hours_selection: null,
20
+ ignore_unconfirmed: null,
21
+ to: null,
22
+ wallet: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,21 @@
1
+ # SkyApi::WalletTransactionRequestHoursSelection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **mode** | **String** | | [optional]
8
+ **share_factor** | **String** | | [optional]
9
+ **type** | **String** | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'SkyApi'
15
+
16
+ instance = SkyApi::WalletTransactionRequestHoursSelection.new(mode: null,
17
+ share_factor: null,
18
+ type: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,23 @@
1
+ # SkyApi::WalletTransactionRequestWallet
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **addresses** | **Array<String>** | | [optional]
8
+ **id** | **String** | | [optional]
9
+ **password** | **String** | | [optional]
10
+ **unspents** | **Array<String>** | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'SkyApi'
16
+
17
+ instance = SkyApi::WalletTransactionRequestWallet.new(addresses: null,
18
+ id: null,
19
+ password: null,
20
+ unspents: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # SkyApi::WalletTransactionSignRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **wallet_id** | **String** | | [optional]
8
+ **password** | **String** | | [optional]
9
+ **encoded_transaction** | **String** | | [optional]
10
+ **sign_indexes** | **Array<Integer>** | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'SkyApi'
16
+
17
+ instance = SkyApi::WalletTransactionSignRequest.new(wallet_id: null,
18
+ password: null,
19
+ encoded_transaction: null,
20
+ sign_indexes: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,55 @@
1
+ #!/bin/sh
2
+ #
3
+ # Generated by: https://openapi-generator.tech
4
+ #
5
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
+ #
7
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
8
+
9
+ git_user_id=$1
10
+ git_repo_id=$2
11
+ release_note=$3
12
+
13
+ if [ "$git_user_id" = "" ]; then
14
+ git_user_id="GIT_USER_ID"
15
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
16
+ fi
17
+
18
+ if [ "$git_repo_id" = "" ]; then
19
+ git_repo_id="GIT_REPO_ID"
20
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
21
+ fi
22
+
23
+ if [ "$release_note" = "" ]; then
24
+ release_note="Minor update"
25
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
26
+ fi
27
+
28
+ # Initialize the local directory as a Git repository
29
+ git init
30
+
31
+ # Adds the files in the local repository and stages them for commit.
32
+ git add .
33
+
34
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
35
+ git commit -m "$release_note"
36
+
37
+ # Sets the new remote
38
+ git_remote=`git remote`
39
+ if [ "$git_remote" = "" ]; then # git remote not defined
40
+
41
+ if [ "$GIT_TOKEN" = "" ]; then
42
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43
+ git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
44
+ else
45
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
46
+ fi
47
+
48
+ fi
49
+
50
+ git pull origin master
51
+
52
+ # Pushes (Forces) the changes in the local repository up to the remote repository
53
+ echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
54
+ git push origin master 2>&1 | grep -v 'To https'
55
+
@@ -0,0 +1,81 @@
1
+ =begin
2
+ #Skycoin REST API.
3
+
4
+ #Skycoin is a next-generation cryptocurrency.
5
+
6
+ The version of the OpenAPI document: 0.26.0
7
+ Contact: contact@skycoin.net
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.1
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'sky_api/api_client'
15
+ require 'sky_api/api_error'
16
+ require 'sky_api/version'
17
+ require 'sky_api/configuration'
18
+
19
+ # Models
20
+ require 'sky_api/models/address'
21
+ require 'sky_api/models/api_v1_pending_txs_transaction'
22
+ require 'sky_api/models/api_v1_pending_txs_transaction_outputs'
23
+ require 'sky_api/models/block_schema'
24
+ require 'sky_api/models/block_schema_body'
25
+ require 'sky_api/models/block_verbose_schema'
26
+ require 'sky_api/models/block_verbose_schema_body'
27
+ require 'sky_api/models/block_verbose_schema_header'
28
+ require 'sky_api/models/inline_response200'
29
+ require 'sky_api/models/inline_response2001'
30
+ require 'sky_api/models/inline_response20010'
31
+ require 'sky_api/models/inline_response2002'
32
+ require 'sky_api/models/inline_response2003'
33
+ require 'sky_api/models/inline_response2004'
34
+ require 'sky_api/models/inline_response2005'
35
+ require 'sky_api/models/inline_response2006'
36
+ require 'sky_api/models/inline_response2007'
37
+ require 'sky_api/models/inline_response2008'
38
+ require 'sky_api/models/inline_response2008_data'
39
+ require 'sky_api/models/inline_response2009'
40
+ require 'sky_api/models/inline_response_default'
41
+ require 'sky_api/models/network_connection_schema'
42
+ require 'sky_api/models/network_connection_schema_unconfirmed_verify_transaction'
43
+ require 'sky_api/models/transaction'
44
+ require 'sky_api/models/transaction_encoded'
45
+ require 'sky_api/models/transaction_encoded_s'
46
+ require 'sky_api/models/transaction_status'
47
+ require 'sky_api/models/transaction_txn'
48
+ require 'sky_api/models/transaction_v2_params_address'
49
+ require 'sky_api/models/transaction_v2_params_address_hours_selection'
50
+ require 'sky_api/models/transaction_v2_params_unspent'
51
+ require 'sky_api/models/transaction_v2_params_unspent_hours_selection'
52
+ require 'sky_api/models/transaction_v2_params_unspent_to'
53
+ require 'sky_api/models/transaction_verbose'
54
+ require 'sky_api/models/transaction_verbose_txn'
55
+ require 'sky_api/models/transaction_verbose_txn_inputs'
56
+ require 'sky_api/models/transaction_verify_request'
57
+ require 'sky_api/models/wallet_transaction_request'
58
+ require 'sky_api/models/wallet_transaction_request_hours_selection'
59
+ require 'sky_api/models/wallet_transaction_request_wallet'
60
+ require 'sky_api/models/wallet_transaction_sign_request'
61
+
62
+ # APIs
63
+ require 'sky_api/api/default_api'
64
+
65
+ module SkyApi
66
+ class << self
67
+ # Customize default settings for the SDK using block.
68
+ # SkyApi.configure do |config|
69
+ # config.username = "xxx"
70
+ # config.password = "xxx"
71
+ # end
72
+ # If no block given, return the default Configuration object.
73
+ def configure
74
+ if block_given?
75
+ yield(Configuration.default)
76
+ else
77
+ Configuration.default
78
+ end
79
+ end
80
+ end
81
+ end