cybrid_api_bank_ruby 0.62.68 → 0.63.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -15
- data/cybrid_api_bank_ruby.gemspec +2 -2
- data/lib/cybrid_api_bank_ruby/api/accounts_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/assets_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/banks_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/customers_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/deposit_addresses_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/external_bank_accounts_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/identity_records_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/identity_verifications_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/prices_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/quotes_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/rewards_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/symbols_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/trades_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/transfers_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/verification_keys_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/workflows_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api_client.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api_error.rb +2 -2
- data/lib/cybrid_api_bank_ruby/configuration.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/account_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/account_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/asset_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/asset_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/attestation_details_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/bank_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/bank_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/customer_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/customer_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/deposit_address_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/deposit_address_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/error_response_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/identity_record_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/identity_record_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/identity_verification_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/identity_verification_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_all_of_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/patch_bank_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/patch_external_bank_account_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_account_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_bank_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_customer_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_deposit_address_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_identity_record_attestation_details_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_identity_record_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_identity_verification_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_one_time_address_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_quote_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_reward_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_trade_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_transfer_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_verification_key_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_workflow_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/quote_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/quote_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/reward_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/reward_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/symbol_price_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/trade_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/trade_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/transfer_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/transfer_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/verification_key_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/verification_key_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/workflow_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/workflow_with_details_all_of_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/workflow_with_details_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/workflows_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/version.rb +3 -3
- data/lib/cybrid_api_bank_ruby.rb +2 -8
- data/spec/api/accounts_bank_api_spec.rb +2 -2
- data/spec/api/assets_bank_api_spec.rb +2 -2
- data/spec/api/banks_bank_api_spec.rb +2 -2
- data/spec/api/customers_bank_api_spec.rb +2 -2
- data/spec/api/deposit_addresses_bank_api_spec.rb +2 -2
- data/spec/api/external_bank_accounts_bank_api_spec.rb +2 -2
- data/spec/api/identity_records_bank_api_spec.rb +2 -2
- data/spec/api/identity_verifications_bank_api_spec.rb +2 -2
- data/spec/api/prices_bank_api_spec.rb +2 -2
- data/spec/api/quotes_bank_api_spec.rb +2 -2
- data/spec/api/rewards_bank_api_spec.rb +2 -2
- data/spec/api/symbols_bank_api_spec.rb +2 -2
- data/spec/api/trades_bank_api_spec.rb +2 -2
- data/spec/api/transfers_bank_api_spec.rb +2 -2
- data/spec/api/verification_keys_bank_api_spec.rb +2 -2
- data/spec/api/workflows_bank_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/account_bank_model_spec.rb +2 -2
- data/spec/models/account_list_bank_model_spec.rb +2 -2
- data/spec/models/asset_bank_model_spec.rb +2 -2
- data/spec/models/asset_list_bank_model_spec.rb +2 -2
- data/spec/models/attestation_details_bank_model_spec.rb +2 -2
- data/spec/models/bank_bank_model_spec.rb +2 -2
- data/spec/models/bank_list_bank_model_spec.rb +2 -2
- data/spec/models/customer_bank_model_spec.rb +2 -2
- data/spec/models/customer_list_bank_model_spec.rb +2 -2
- data/spec/models/deposit_address_bank_model_spec.rb +2 -2
- data/spec/models/deposit_address_list_bank_model_spec.rb +2 -2
- data/spec/models/error_response_bank_model_spec.rb +2 -2
- data/spec/models/external_bank_account_bank_model_spec.rb +2 -2
- data/spec/models/external_bank_account_list_bank_model_spec.rb +2 -2
- data/spec/models/identity_record_bank_model_spec.rb +2 -2
- data/spec/models/identity_record_list_bank_model_spec.rb +2 -2
- data/spec/models/identity_verification_bank_model_spec.rb +2 -2
- data/spec/models/identity_verification_list_bank_model_spec.rb +2 -2
- data/spec/models/identity_verification_with_details_all_of_bank_model_spec.rb +2 -2
- data/spec/models/identity_verification_with_details_bank_model_spec.rb +2 -2
- data/spec/models/patch_bank_bank_model_spec.rb +2 -2
- data/spec/models/patch_external_bank_account_bank_model_spec.rb +2 -2
- data/spec/models/post_account_bank_model_spec.rb +2 -2
- data/spec/models/post_bank_bank_model_spec.rb +2 -2
- data/spec/models/post_customer_bank_model_spec.rb +2 -2
- data/spec/models/post_deposit_address_bank_model_spec.rb +2 -2
- data/spec/models/post_external_bank_account_bank_model_spec.rb +2 -2
- data/spec/models/post_identity_record_attestation_details_bank_model_spec.rb +2 -2
- data/spec/models/post_identity_record_bank_model_spec.rb +2 -2
- data/spec/models/post_identity_verification_bank_model_spec.rb +2 -2
- data/spec/models/post_one_time_address_bank_model_spec.rb +2 -2
- data/spec/models/post_quote_bank_model_spec.rb +2 -2
- data/spec/models/post_reward_bank_model_spec.rb +2 -2
- data/spec/models/post_trade_bank_model_spec.rb +2 -2
- data/spec/models/post_transfer_bank_model_spec.rb +2 -2
- data/spec/models/post_verification_key_bank_model_spec.rb +2 -2
- data/spec/models/post_workflow_bank_model_spec.rb +2 -2
- data/spec/models/quote_bank_model_spec.rb +2 -2
- data/spec/models/quote_list_bank_model_spec.rb +2 -2
- data/spec/models/reward_bank_model_spec.rb +2 -2
- data/spec/models/reward_list_bank_model_spec.rb +2 -2
- data/spec/models/symbol_price_bank_model_spec.rb +2 -2
- data/spec/models/trade_bank_model_spec.rb +2 -2
- data/spec/models/trade_list_bank_model_spec.rb +2 -2
- data/spec/models/transfer_bank_model_spec.rb +2 -2
- data/spec/models/transfer_list_bank_model_spec.rb +2 -2
- data/spec/models/verification_key_bank_model_spec.rb +2 -2
- data/spec/models/verification_key_list_bank_model_spec.rb +2 -2
- data/spec/models/workflow_bank_model_spec.rb +2 -2
- data/spec/models/workflow_with_details_all_of_bank_model_spec.rb +2 -2
- data/spec/models/workflow_with_details_bank_model_spec.rb +2 -2
- data/spec/models/workflows_list_bank_model_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.4/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/base.rb +41 -2
- data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/time.rb +7 -5
- data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/progress.rb +9 -31
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{ruby-progressbar-1.12.0.gemspec → ruby-progressbar-1.13.0.gemspec} +4 -4
- metadata +32 -55
- data/docs/FeeBankModel.md +0 -22
- data/docs/FeeConfigurationBankModel.md +0 -28
- data/docs/FeeConfigurationListBankModel.md +0 -24
- data/docs/FeeConfigurationsBankApi.md +0 -230
- data/docs/PostFeeBankModel.md +0 -22
- data/docs/PostFeeConfigurationBankModel.md +0 -22
- data/lib/cybrid_api_bank_ruby/api/fee_configurations_bank_api.rb +0 -228
- data/lib/cybrid_api_bank_ruby/models/fee_bank_model.rb +0 -274
- data/lib/cybrid_api_bank_ruby/models/fee_configuration_bank_model.rb +0 -379
- data/lib/cybrid_api_bank_ruby/models/fee_configuration_list_bank_model.rb +0 -296
- data/lib/cybrid_api_bank_ruby/models/post_fee_bank_model.rb +0 -279
- data/lib/cybrid_api_bank_ruby/models/post_fee_configuration_bank_model.rb +0 -319
- data/spec/api/fee_configurations_bank_api_spec.rb +0 -72
- data/spec/models/fee_bank_model_spec.rb +0 -50
- data/spec/models/fee_configuration_bank_model_spec.rb +0 -68
- data/spec/models/fee_configuration_list_bank_model_spec.rb +0 -52
- data/spec/models/post_fee_bank_model_spec.rb +0 -50
- data/spec/models/post_fee_configuration_bank_model_spec.rb +0 -50
- data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/smoothed_average.rb +0 -9
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements/enumerator.rb +0 -23
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements.rb +0 -1
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/version.rb +0 -3
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/README.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/Rakefile +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/calculators/length.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/bar.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/percentage.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/rate.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/title.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/errors/invalid_progress_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/format/formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/format/molecule.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/format/string.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/output.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/non_tty.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/null.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/tty.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/throttle.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/time.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/timer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar.rb +0 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
class ProgressBar
|
2
|
+
module Projectors
|
3
|
+
class SmoothedAverage
|
4
|
+
DEFAULT_STRENGTH = 0.1
|
5
|
+
DEFAULT_BEGINNING_POSITION = 0
|
6
|
+
|
7
|
+
attr_accessor :samples,
|
8
|
+
:strength
|
9
|
+
attr_reader :projection
|
10
|
+
|
11
|
+
def initialize(options = {})
|
12
|
+
self.samples = []
|
13
|
+
self.projection = 0.0
|
14
|
+
self.strength = options[:strength] || DEFAULT_STRENGTH
|
15
|
+
|
16
|
+
start(:at => DEFAULT_BEGINNING_POSITION)
|
17
|
+
end
|
18
|
+
|
19
|
+
def start(options = {})
|
20
|
+
self.projection = 0.0
|
21
|
+
self.progress = samples[0] = (options[:at] || progress)
|
22
|
+
end
|
23
|
+
|
24
|
+
def decrement
|
25
|
+
self.progress -= 1
|
26
|
+
end
|
27
|
+
|
28
|
+
def increment
|
29
|
+
self.progress += 1
|
30
|
+
end
|
31
|
+
|
32
|
+
def progress
|
33
|
+
samples[1]
|
34
|
+
end
|
35
|
+
|
36
|
+
def total=(_new_total); end
|
37
|
+
|
38
|
+
def reset
|
39
|
+
start(:at => samples[0])
|
40
|
+
end
|
41
|
+
|
42
|
+
def progress=(new_progress)
|
43
|
+
samples[1] = new_progress
|
44
|
+
self.projection = \
|
45
|
+
self.class.calculate(
|
46
|
+
@projection,
|
47
|
+
absolute,
|
48
|
+
strength
|
49
|
+
)
|
50
|
+
end
|
51
|
+
|
52
|
+
def none?
|
53
|
+
projection.zero?
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.calculate(current_projection, new_value, rate)
|
57
|
+
(new_value * (1.0 - rate)) + (current_projection * rate)
|
58
|
+
end
|
59
|
+
|
60
|
+
protected
|
61
|
+
|
62
|
+
attr_writer :projection
|
63
|
+
|
64
|
+
private
|
65
|
+
|
66
|
+
def absolute
|
67
|
+
samples[1] - samples[0]
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
class ProgressBar
|
2
|
+
module Refinements
|
3
|
+
module Enumerator
|
4
|
+
ARITY_ERROR_MESSAGE = 'Only two arguments allowed to be passed to ' \
|
5
|
+
'with_progressbar (item, progress_bar)'.freeze
|
6
|
+
|
7
|
+
refine ::Enumerator do
|
8
|
+
def with_progressbar(options = {}, &block)
|
9
|
+
progress_bar = ProgressBar.create(options.merge(:starting_at => 0, :total => size))
|
10
|
+
|
11
|
+
each do |item|
|
12
|
+
progress_bar.increment
|
13
|
+
|
14
|
+
next unless block
|
15
|
+
|
16
|
+
yielded_args = []
|
17
|
+
yielded_args << item if block.arity > 0
|
18
|
+
yielded_args << progress_bar if block.arity > 1
|
19
|
+
|
20
|
+
fail ::ArgumentError, ARITY_ERROR_MESSAGE if block.arity > 2
|
21
|
+
|
22
|
+
yield(*yielded_args)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'ruby-progressbar/refinements/progress_enumerator'
|
@@ -1,16 +1,16 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: ruby-progressbar 1.
|
2
|
+
# stub: ruby-progressbar 1.13.0 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "ruby-progressbar".freeze
|
6
|
-
s.version = "1.
|
6
|
+
s.version = "1.13.0"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
|
-
s.metadata = { "bug_tracker_uri" => "https://github.com/jfelchner/ruby-progressbar/issues", "changelog_uri" => "https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md", "documentation_uri" => "https://github.com/jfelchner/ruby-progressbar/tree/releases/v1.
|
9
|
+
s.metadata = { "bug_tracker_uri" => "https://github.com/jfelchner/ruby-progressbar/issues", "changelog_uri" => "https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md", "documentation_uri" => "https://github.com/jfelchner/ruby-progressbar/tree/releases/v1.13.0", "homepage_uri" => "https://github.com/jfelchner/ruby-progressbar", "source_code_uri" => "https://github.com/jfelchner/ruby-progressbar", "wiki_uri" => "https://github.com/jfelchner/ruby-progressbar/wiki" } if s.respond_to? :metadata=
|
10
10
|
s.require_paths = ["lib".freeze]
|
11
11
|
s.authors = ["thekompanee".freeze, "jfelchner".freeze]
|
12
12
|
s.cert_chain = ["-----BEGIN CERTIFICATE-----\nMIIEdjCCAt6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAyMTAwLgYDVQQDDCdhY2Nv\ndW50c19ydWJ5Z2Vtcy9EQz10aGVrb21wYW5lZS9EQz1jb20wHhcNMjMwMjI2MTcx\nMDI1WhcNMjYwMjI1MTcxMDI1WjAyMTAwLgYDVQQDDCdhY2NvdW50c19ydWJ5Z2Vt\ncy9EQz10aGVrb21wYW5lZS9EQz1jb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAw\nggGKAoIBgQCqhYn5ODEoLvuBIF2M1GzoaZU28+ntP5QApvDE0Te04n0JbBC1cNYH\nmr71neeSx7tlZ9w9kJ/8GNcY5bm7pNJqhyhfc+uG9M7FttcxM8AYXogjcdUDP234\n+TdmZIz20JxtWBgAZK2I3ktlgLFLC3Pxq63yzhJ75Xok07Wh+ypwjGzDNofPhz+y\nXR+UeUTp2UGe7kDVoqu/AwwPVhk1qUIRFLfC8SLDTD0CuNW3/AnkwQrKSm8vkiIn\nq9GCnOq0+jQly0b6a1Gi3ZDYEEswnTzziw2gotUZnQkF5bcOcxK1CB/Okk2jtG7i\nztMEU785tERbOSszZrz9rBS/+GnMxlD0pxy50zFfHX3jY1hwnwGjE8Gg+0iYr/tm\neysjhcbZfKrMynoqAioCSwstIwtYYYYpYzCPZzwaIBaBqQmUTkuMeiGbAdOdFOrR\nlOgl5jxCYbNOOTaXbm0nGBFaTucB88+JLbsNAuoNGUf/ybDcZ1zKRkMr2vtb+OtL\nGoP81fN6l88CAwEAAaOBljCBkzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV\nHQ4EFgQUL4eV4OM9h7fkM27qf9p4ragHi6AwLAYDVR0RBCUwI4EhYWNjb3VudHMr\ncnVieWdlbXNAdGhla29tcGFuZWUuY29tMCwGA1UdEgQlMCOBIWFjY291bnRzK3J1\nYnlnZW1zQHRoZWtvbXBhbmVlLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAD/tBN1cM\n8Qu6u+rPM3SEtlEK/ZdVY0IowXtXMskkderNBJ4HY+xBfIWyAXLTr3Fy6xscVZ95\nraFCiWHqvR577u3/BsVZ5BoQ0g25oY2bwoamQSdx71ygs25Q+UFbg6lHq6olszj0\nHqKXUy/iPFb+OzGq7NOtKOD5pHl3ew8H7U5tfh0kx6B5TdL9BZLurjskW0n2G+kY\nNSGCTGYU8wY4Bsk/AmfoFT/ATwmrf68CTD+IBY5yvt2DGvcyuSrX1RQP8Vk//0EP\nJ2ezTNGIBeQFcyyo09gMfy1yxv9XAvwmy6pAx7/m/F2XzTiXuzmJ7zJ6J0OaHUG4\nsvJgf3o9Eor2okQND60Qdpdl4qdSy3KaNqvQQbTRB96e/+K8ksz4rras5jPaAs0p\nDV37k4cni6c/jUm2CqepsJ/dbzeWdkhcuO6hwEQV0jvFky5C6d5hHcrbJwxl1sTL\nV+pWW6L9MSZzKkjWVJXD43B3tWBjIDthQVTzS4j90PUkUXgBXjS7Jxj/\n-----END CERTIFICATE-----\n".freeze]
|
13
|
-
s.date = "2023-03-
|
13
|
+
s.date = "2023-03-04"
|
14
14
|
s.description = "Ruby/ProgressBar is an extremely flexible text progress bar library for Ruby. The output can be customized with a flexible formatting system including: percentage, bars of various formats, elapsed time and estimated time remaining.".freeze
|
15
15
|
s.email = ["support@thekompanee.com".freeze]
|
16
16
|
s.homepage = "https://github.com/jfelchner/ruby-progressbar".freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cybrid_api_bank_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.63.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cybrid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -82,10 +82,6 @@ files:
|
|
82
82
|
- docs/ExternalBankAccountBankModel.md
|
83
83
|
- docs/ExternalBankAccountListBankModel.md
|
84
84
|
- docs/ExternalBankAccountsBankApi.md
|
85
|
-
- docs/FeeBankModel.md
|
86
|
-
- docs/FeeConfigurationBankModel.md
|
87
|
-
- docs/FeeConfigurationListBankModel.md
|
88
|
-
- docs/FeeConfigurationsBankApi.md
|
89
85
|
- docs/IdentityRecordBankModel.md
|
90
86
|
- docs/IdentityRecordListBankModel.md
|
91
87
|
- docs/IdentityRecordsBankApi.md
|
@@ -101,8 +97,6 @@ files:
|
|
101
97
|
- docs/PostCustomerBankModel.md
|
102
98
|
- docs/PostDepositAddressBankModel.md
|
103
99
|
- docs/PostExternalBankAccountBankModel.md
|
104
|
-
- docs/PostFeeBankModel.md
|
105
|
-
- docs/PostFeeConfigurationBankModel.md
|
106
100
|
- docs/PostIdentityRecordAttestationDetailsBankModel.md
|
107
101
|
- docs/PostIdentityRecordBankModel.md
|
108
102
|
- docs/PostIdentityVerificationBankModel.md
|
@@ -144,7 +138,6 @@ files:
|
|
144
138
|
- lib/cybrid_api_bank_ruby/api/customers_bank_api.rb
|
145
139
|
- lib/cybrid_api_bank_ruby/api/deposit_addresses_bank_api.rb
|
146
140
|
- lib/cybrid_api_bank_ruby/api/external_bank_accounts_bank_api.rb
|
147
|
-
- lib/cybrid_api_bank_ruby/api/fee_configurations_bank_api.rb
|
148
141
|
- lib/cybrid_api_bank_ruby/api/identity_records_bank_api.rb
|
149
142
|
- lib/cybrid_api_bank_ruby/api/identity_verifications_bank_api.rb
|
150
143
|
- lib/cybrid_api_bank_ruby/api/prices_bank_api.rb
|
@@ -172,9 +165,6 @@ files:
|
|
172
165
|
- lib/cybrid_api_bank_ruby/models/error_response_bank_model.rb
|
173
166
|
- lib/cybrid_api_bank_ruby/models/external_bank_account_bank_model.rb
|
174
167
|
- lib/cybrid_api_bank_ruby/models/external_bank_account_list_bank_model.rb
|
175
|
-
- lib/cybrid_api_bank_ruby/models/fee_bank_model.rb
|
176
|
-
- lib/cybrid_api_bank_ruby/models/fee_configuration_bank_model.rb
|
177
|
-
- lib/cybrid_api_bank_ruby/models/fee_configuration_list_bank_model.rb
|
178
168
|
- lib/cybrid_api_bank_ruby/models/identity_record_bank_model.rb
|
179
169
|
- lib/cybrid_api_bank_ruby/models/identity_record_list_bank_model.rb
|
180
170
|
- lib/cybrid_api_bank_ruby/models/identity_verification_bank_model.rb
|
@@ -188,8 +178,6 @@ files:
|
|
188
178
|
- lib/cybrid_api_bank_ruby/models/post_customer_bank_model.rb
|
189
179
|
- lib/cybrid_api_bank_ruby/models/post_deposit_address_bank_model.rb
|
190
180
|
- lib/cybrid_api_bank_ruby/models/post_external_bank_account_bank_model.rb
|
191
|
-
- lib/cybrid_api_bank_ruby/models/post_fee_bank_model.rb
|
192
|
-
- lib/cybrid_api_bank_ruby/models/post_fee_configuration_bank_model.rb
|
193
181
|
- lib/cybrid_api_bank_ruby/models/post_identity_record_attestation_details_bank_model.rb
|
194
182
|
- lib/cybrid_api_bank_ruby/models/post_identity_record_bank_model.rb
|
195
183
|
- lib/cybrid_api_bank_ruby/models/post_identity_verification_bank_model.rb
|
@@ -222,7 +210,6 @@ files:
|
|
222
210
|
- spec/api/customers_bank_api_spec.rb
|
223
211
|
- spec/api/deposit_addresses_bank_api_spec.rb
|
224
212
|
- spec/api/external_bank_accounts_bank_api_spec.rb
|
225
|
-
- spec/api/fee_configurations_bank_api_spec.rb
|
226
213
|
- spec/api/identity_records_bank_api_spec.rb
|
227
214
|
- spec/api/identity_verifications_bank_api_spec.rb
|
228
215
|
- spec/api/prices_bank_api_spec.rb
|
@@ -249,9 +236,6 @@ files:
|
|
249
236
|
- spec/models/error_response_bank_model_spec.rb
|
250
237
|
- spec/models/external_bank_account_bank_model_spec.rb
|
251
238
|
- spec/models/external_bank_account_list_bank_model_spec.rb
|
252
|
-
- spec/models/fee_bank_model_spec.rb
|
253
|
-
- spec/models/fee_configuration_bank_model_spec.rb
|
254
|
-
- spec/models/fee_configuration_list_bank_model_spec.rb
|
255
239
|
- spec/models/identity_record_bank_model_spec.rb
|
256
240
|
- spec/models/identity_record_list_bank_model_spec.rb
|
257
241
|
- spec/models/identity_verification_bank_model_spec.rb
|
@@ -265,8 +249,6 @@ files:
|
|
265
249
|
- spec/models/post_customer_bank_model_spec.rb
|
266
250
|
- spec/models/post_deposit_address_bank_model_spec.rb
|
267
251
|
- spec/models/post_external_bank_account_bank_model_spec.rb
|
268
|
-
- spec/models/post_fee_bank_model_spec.rb
|
269
|
-
- spec/models/post_fee_configuration_bank_model_spec.rb
|
270
252
|
- spec/models/post_identity_record_attestation_details_bank_model_spec.rb
|
271
253
|
- spec/models/post_identity_record_bank_model_spec.rb
|
272
254
|
- spec/models/post_identity_verification_bank_model_spec.rb
|
@@ -324,7 +306,7 @@ files:
|
|
324
306
|
- vendor/bundle/ruby/3.2.0/cache/rspec-mocks-3.12.3.gem
|
325
307
|
- vendor/bundle/ruby/3.2.0/cache/rspec-support-3.12.0.gem
|
326
308
|
- vendor/bundle/ruby/3.2.0/cache/rubocop-0.66.0.gem
|
327
|
-
- vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.
|
309
|
+
- vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem
|
328
310
|
- vendor/bundle/ruby/3.2.0/cache/stringio-3.0.5.gem
|
329
311
|
- vendor/bundle/ruby/3.2.0/cache/typhoeus-1.4.0.gem
|
330
312
|
- vendor/bundle/ruby/3.2.0/cache/unicode-display_width-1.5.0.gem
|
@@ -2574,33 +2556,34 @@ files:
|
|
2574
2556
|
- vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/version.rb
|
2575
2557
|
- vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb
|
2576
2558
|
- vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb
|
2577
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2578
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2579
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2580
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2581
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2582
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2583
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2584
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2585
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2586
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2587
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2588
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2589
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2590
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2591
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2592
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2593
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2594
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2595
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2596
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2597
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2598
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2599
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2600
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2601
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2602
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2603
|
-
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.
|
2559
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/LICENSE.txt
|
2560
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/README.md
|
2561
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/Rakefile
|
2562
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb
|
2563
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb
|
2564
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/calculators/length.rb
|
2565
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/bar.rb
|
2566
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/percentage.rb
|
2567
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/rate.rb
|
2568
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/time.rb
|
2569
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/title.rb
|
2570
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/errors/invalid_progress_error.rb
|
2571
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/formatter.rb
|
2572
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb
|
2573
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/string.rb
|
2574
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/output.rb
|
2575
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/non_tty.rb
|
2576
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/null.rb
|
2577
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/tty.rb
|
2578
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/progress.rb
|
2579
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb
|
2580
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb
|
2581
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb
|
2582
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb
|
2583
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/throttle.rb
|
2584
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb
|
2585
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb
|
2586
|
+
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb
|
2604
2587
|
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/README.md
|
2605
2588
|
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio/Makefile
|
2606
2589
|
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio/extconf.rb
|
@@ -2732,7 +2715,7 @@ files:
|
|
2732
2715
|
- vendor/bundle/ruby/3.2.0/specifications/rspec-mocks-3.12.3.gemspec
|
2733
2716
|
- vendor/bundle/ruby/3.2.0/specifications/rspec-support-3.12.0.gemspec
|
2734
2717
|
- vendor/bundle/ruby/3.2.0/specifications/rubocop-0.66.0.gemspec
|
2735
|
-
- vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.
|
2718
|
+
- vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.13.0.gemspec
|
2736
2719
|
- vendor/bundle/ruby/3.2.0/specifications/stringio-3.0.5.gemspec
|
2737
2720
|
- vendor/bundle/ruby/3.2.0/specifications/typhoeus-1.4.0.gemspec
|
2738
2721
|
- vendor/bundle/ruby/3.2.0/specifications/unicode-display_width-1.5.0.gemspec
|
@@ -2766,7 +2749,6 @@ test_files:
|
|
2766
2749
|
- spec/api/customers_bank_api_spec.rb
|
2767
2750
|
- spec/api/deposit_addresses_bank_api_spec.rb
|
2768
2751
|
- spec/api/external_bank_accounts_bank_api_spec.rb
|
2769
|
-
- spec/api/fee_configurations_bank_api_spec.rb
|
2770
2752
|
- spec/api/identity_records_bank_api_spec.rb
|
2771
2753
|
- spec/api/identity_verifications_bank_api_spec.rb
|
2772
2754
|
- spec/api/prices_bank_api_spec.rb
|
@@ -2793,9 +2775,6 @@ test_files:
|
|
2793
2775
|
- spec/models/error_response_bank_model_spec.rb
|
2794
2776
|
- spec/models/external_bank_account_bank_model_spec.rb
|
2795
2777
|
- spec/models/external_bank_account_list_bank_model_spec.rb
|
2796
|
-
- spec/models/fee_bank_model_spec.rb
|
2797
|
-
- spec/models/fee_configuration_bank_model_spec.rb
|
2798
|
-
- spec/models/fee_configuration_list_bank_model_spec.rb
|
2799
2778
|
- spec/models/identity_record_bank_model_spec.rb
|
2800
2779
|
- spec/models/identity_record_list_bank_model_spec.rb
|
2801
2780
|
- spec/models/identity_verification_bank_model_spec.rb
|
@@ -2809,8 +2788,6 @@ test_files:
|
|
2809
2788
|
- spec/models/post_customer_bank_model_spec.rb
|
2810
2789
|
- spec/models/post_deposit_address_bank_model_spec.rb
|
2811
2790
|
- spec/models/post_external_bank_account_bank_model_spec.rb
|
2812
|
-
- spec/models/post_fee_bank_model_spec.rb
|
2813
|
-
- spec/models/post_fee_configuration_bank_model_spec.rb
|
2814
2791
|
- spec/models/post_identity_record_attestation_details_bank_model_spec.rb
|
2815
2792
|
- spec/models/post_identity_record_bank_model_spec.rb
|
2816
2793
|
- spec/models/post_identity_verification_bank_model_spec.rb
|
data/docs/FeeBankModel.md
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# CybridApiBank::FeeBankModel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **type** | **String** | The fee's type | [optional] |
|
8
|
-
| **spread_fee** | **Integer** | The percentage amount, in basis points, to apply when charging a fee. | [optional] |
|
9
|
-
| **fixed_fee** | **Integer** | The fixed amount, in the currency of the parent trading configuration, to apply when charging a fee. | [optional] |
|
10
|
-
|
11
|
-
## Example
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'cybrid_api_bank_ruby'
|
15
|
-
|
16
|
-
instance = CybridApiBank::FeeBankModel.new(
|
17
|
-
type: null,
|
18
|
-
spread_fee: null,
|
19
|
-
fixed_fee: null
|
20
|
-
)
|
21
|
-
```
|
22
|
-
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# CybridApiBank::FeeConfigurationBankModel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **guid** | **String** | Auto-generated unique identifier for the exchange. | [optional] |
|
8
|
-
| **bank_guid** | **String** | The bank identifier. | [optional] |
|
9
|
-
| **product_type** | **String** | The type of product being configured. | [optional] |
|
10
|
-
| **asset** | **String** | The asset code. | [optional] |
|
11
|
-
| **created_at** | **Time** | ISO8601 datetime the bank was created at. | [optional] |
|
12
|
-
| **fees** | [**Array<FeeBankModel>**](FeeBankModel.md) | The fees associated with the configuration | [optional] |
|
13
|
-
|
14
|
-
## Example
|
15
|
-
|
16
|
-
```ruby
|
17
|
-
require 'cybrid_api_bank_ruby'
|
18
|
-
|
19
|
-
instance = CybridApiBank::FeeConfigurationBankModel.new(
|
20
|
-
guid: null,
|
21
|
-
bank_guid: null,
|
22
|
-
product_type: null,
|
23
|
-
asset: null,
|
24
|
-
created_at: null,
|
25
|
-
fees: null
|
26
|
-
)
|
27
|
-
```
|
28
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# CybridApiBank::FeeConfigurationListBankModel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **total** | **Integer** | The total number of records available. | [optional] |
|
8
|
-
| **page** | **Integer** | The page index to retrieve. | [optional] |
|
9
|
-
| **per_page** | **Integer** | The number of entities per page to return. | [optional] |
|
10
|
-
| **objects** | [**Array<FeeConfigurationBankModel>**](FeeConfigurationBankModel.md) | | [optional] |
|
11
|
-
|
12
|
-
## Example
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
require 'cybrid_api_bank_ruby'
|
16
|
-
|
17
|
-
instance = CybridApiBank::FeeConfigurationListBankModel.new(
|
18
|
-
total: null,
|
19
|
-
page: null,
|
20
|
-
per_page: null,
|
21
|
-
objects: null
|
22
|
-
)
|
23
|
-
```
|
24
|
-
|
@@ -1,230 +0,0 @@
|
|
1
|
-
# CybridApiBank::FeeConfigurationsBankApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://bank.demo.cybrid.app*
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ------ | ------------ | ----------- |
|
7
|
-
| [**create_fee_configuration**](FeeConfigurationsBankApi.md#create_fee_configuration) | **POST** /api/fee_configurations | Create Fee Configuration |
|
8
|
-
| [**get_fee_configuration**](FeeConfigurationsBankApi.md#get_fee_configuration) | **GET** /api/fee_configurations/{fee_configuration_guid} | Get Fee Configuration |
|
9
|
-
| [**list_fee_configurations**](FeeConfigurationsBankApi.md#list_fee_configurations) | **GET** /api/fee_configurations | List Fee Configurations |
|
10
|
-
|
11
|
-
|
12
|
-
## create_fee_configuration
|
13
|
-
|
14
|
-
> <FeeConfigurationBankModel> create_fee_configuration(post_fee_configuration_bank_model)
|
15
|
-
|
16
|
-
Create Fee Configuration
|
17
|
-
|
18
|
-
Creates a fee configuration. Required scope: **banks:write**
|
19
|
-
|
20
|
-
### Examples
|
21
|
-
|
22
|
-
```ruby
|
23
|
-
require 'time'
|
24
|
-
require 'cybrid_api_bank_ruby'
|
25
|
-
# setup authorization
|
26
|
-
CybridApiBank.configure do |config|
|
27
|
-
# Configure Bearer authorization (JWT): BearerAuth
|
28
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
29
|
-
|
30
|
-
# Configure OAuth2 access token for authorization: oauth2
|
31
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
32
|
-
end
|
33
|
-
|
34
|
-
api_instance = CybridApiBank::FeeConfigurationsBankApi.new
|
35
|
-
post_fee_configuration_bank_model = CybridApiBank::PostFeeConfigurationBankModel.new({product_type: 'trading', asset: 'asset_example', fees: [CybridApiBank::PostFeeBankModel.new({type: 'spread'})]}) # PostFeeConfigurationBankModel |
|
36
|
-
|
37
|
-
begin
|
38
|
-
# Create Fee Configuration
|
39
|
-
result = api_instance.create_fee_configuration(post_fee_configuration_bank_model)
|
40
|
-
p result
|
41
|
-
rescue CybridApiBank::ApiError => e
|
42
|
-
puts "Error when calling FeeConfigurationsBankApi->create_fee_configuration: #{e}"
|
43
|
-
end
|
44
|
-
```
|
45
|
-
|
46
|
-
#### Using the create_fee_configuration_with_http_info variant
|
47
|
-
|
48
|
-
This returns an Array which contains the response data, status code and headers.
|
49
|
-
|
50
|
-
> <Array(<FeeConfigurationBankModel>, Integer, Hash)> create_fee_configuration_with_http_info(post_fee_configuration_bank_model)
|
51
|
-
|
52
|
-
```ruby
|
53
|
-
begin
|
54
|
-
# Create Fee Configuration
|
55
|
-
data, status_code, headers = api_instance.create_fee_configuration_with_http_info(post_fee_configuration_bank_model)
|
56
|
-
p status_code # => 2xx
|
57
|
-
p headers # => { ... }
|
58
|
-
p data # => <FeeConfigurationBankModel>
|
59
|
-
rescue CybridApiBank::ApiError => e
|
60
|
-
puts "Error when calling FeeConfigurationsBankApi->create_fee_configuration_with_http_info: #{e}"
|
61
|
-
end
|
62
|
-
```
|
63
|
-
|
64
|
-
### Parameters
|
65
|
-
|
66
|
-
| Name | Type | Description | Notes |
|
67
|
-
| ---- | ---- | ----------- | ----- |
|
68
|
-
| **post_fee_configuration_bank_model** | [**PostFeeConfigurationBankModel**](PostFeeConfigurationBankModel.md) | | |
|
69
|
-
|
70
|
-
### Return type
|
71
|
-
|
72
|
-
[**FeeConfigurationBankModel**](FeeConfigurationBankModel.md)
|
73
|
-
|
74
|
-
### Authorization
|
75
|
-
|
76
|
-
[BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
|
77
|
-
|
78
|
-
### HTTP request headers
|
79
|
-
|
80
|
-
- **Content-Type**: application/json
|
81
|
-
- **Accept**: application/json
|
82
|
-
|
83
|
-
|
84
|
-
## get_fee_configuration
|
85
|
-
|
86
|
-
> <FeeConfigurationBankModel> get_fee_configuration(fee_configuration_guid)
|
87
|
-
|
88
|
-
Get Fee Configuration
|
89
|
-
|
90
|
-
Retrieves a fee configuration. Required scope: **banks:read**
|
91
|
-
|
92
|
-
### Examples
|
93
|
-
|
94
|
-
```ruby
|
95
|
-
require 'time'
|
96
|
-
require 'cybrid_api_bank_ruby'
|
97
|
-
# setup authorization
|
98
|
-
CybridApiBank.configure do |config|
|
99
|
-
# Configure Bearer authorization (JWT): BearerAuth
|
100
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
101
|
-
|
102
|
-
# Configure OAuth2 access token for authorization: oauth2
|
103
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
104
|
-
end
|
105
|
-
|
106
|
-
api_instance = CybridApiBank::FeeConfigurationsBankApi.new
|
107
|
-
fee_configuration_guid = 'fee_configuration_guid_example' # String | Identifier for the fee configuration.
|
108
|
-
|
109
|
-
begin
|
110
|
-
# Get Fee Configuration
|
111
|
-
result = api_instance.get_fee_configuration(fee_configuration_guid)
|
112
|
-
p result
|
113
|
-
rescue CybridApiBank::ApiError => e
|
114
|
-
puts "Error when calling FeeConfigurationsBankApi->get_fee_configuration: #{e}"
|
115
|
-
end
|
116
|
-
```
|
117
|
-
|
118
|
-
#### Using the get_fee_configuration_with_http_info variant
|
119
|
-
|
120
|
-
This returns an Array which contains the response data, status code and headers.
|
121
|
-
|
122
|
-
> <Array(<FeeConfigurationBankModel>, Integer, Hash)> get_fee_configuration_with_http_info(fee_configuration_guid)
|
123
|
-
|
124
|
-
```ruby
|
125
|
-
begin
|
126
|
-
# Get Fee Configuration
|
127
|
-
data, status_code, headers = api_instance.get_fee_configuration_with_http_info(fee_configuration_guid)
|
128
|
-
p status_code # => 2xx
|
129
|
-
p headers # => { ... }
|
130
|
-
p data # => <FeeConfigurationBankModel>
|
131
|
-
rescue CybridApiBank::ApiError => e
|
132
|
-
puts "Error when calling FeeConfigurationsBankApi->get_fee_configuration_with_http_info: #{e}"
|
133
|
-
end
|
134
|
-
```
|
135
|
-
|
136
|
-
### Parameters
|
137
|
-
|
138
|
-
| Name | Type | Description | Notes |
|
139
|
-
| ---- | ---- | ----------- | ----- |
|
140
|
-
| **fee_configuration_guid** | **String** | Identifier for the fee configuration. | |
|
141
|
-
|
142
|
-
### Return type
|
143
|
-
|
144
|
-
[**FeeConfigurationBankModel**](FeeConfigurationBankModel.md)
|
145
|
-
|
146
|
-
### Authorization
|
147
|
-
|
148
|
-
[BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
|
149
|
-
|
150
|
-
### HTTP request headers
|
151
|
-
|
152
|
-
- **Content-Type**: Not defined
|
153
|
-
- **Accept**: application/json
|
154
|
-
|
155
|
-
|
156
|
-
## list_fee_configurations
|
157
|
-
|
158
|
-
> <FeeConfigurationListBankModel> list_fee_configurations(opts)
|
159
|
-
|
160
|
-
List Fee Configurations
|
161
|
-
|
162
|
-
Retrieves a listing of fee configurations for a bank. Required scope: **banks:read**
|
163
|
-
|
164
|
-
### Examples
|
165
|
-
|
166
|
-
```ruby
|
167
|
-
require 'time'
|
168
|
-
require 'cybrid_api_bank_ruby'
|
169
|
-
# setup authorization
|
170
|
-
CybridApiBank.configure do |config|
|
171
|
-
# Configure Bearer authorization (JWT): BearerAuth
|
172
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
173
|
-
|
174
|
-
# Configure OAuth2 access token for authorization: oauth2
|
175
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
176
|
-
end
|
177
|
-
|
178
|
-
api_instance = CybridApiBank::FeeConfigurationsBankApi.new
|
179
|
-
opts = {
|
180
|
-
page: 56, # Integer |
|
181
|
-
per_page: 56 # Integer |
|
182
|
-
}
|
183
|
-
|
184
|
-
begin
|
185
|
-
# List Fee Configurations
|
186
|
-
result = api_instance.list_fee_configurations(opts)
|
187
|
-
p result
|
188
|
-
rescue CybridApiBank::ApiError => e
|
189
|
-
puts "Error when calling FeeConfigurationsBankApi->list_fee_configurations: #{e}"
|
190
|
-
end
|
191
|
-
```
|
192
|
-
|
193
|
-
#### Using the list_fee_configurations_with_http_info variant
|
194
|
-
|
195
|
-
This returns an Array which contains the response data, status code and headers.
|
196
|
-
|
197
|
-
> <Array(<FeeConfigurationListBankModel>, Integer, Hash)> list_fee_configurations_with_http_info(opts)
|
198
|
-
|
199
|
-
```ruby
|
200
|
-
begin
|
201
|
-
# List Fee Configurations
|
202
|
-
data, status_code, headers = api_instance.list_fee_configurations_with_http_info(opts)
|
203
|
-
p status_code # => 2xx
|
204
|
-
p headers # => { ... }
|
205
|
-
p data # => <FeeConfigurationListBankModel>
|
206
|
-
rescue CybridApiBank::ApiError => e
|
207
|
-
puts "Error when calling FeeConfigurationsBankApi->list_fee_configurations_with_http_info: #{e}"
|
208
|
-
end
|
209
|
-
```
|
210
|
-
|
211
|
-
### Parameters
|
212
|
-
|
213
|
-
| Name | Type | Description | Notes |
|
214
|
-
| ---- | ---- | ----------- | ----- |
|
215
|
-
| **page** | **Integer** | | [optional] |
|
216
|
-
| **per_page** | **Integer** | | [optional] |
|
217
|
-
|
218
|
-
### Return type
|
219
|
-
|
220
|
-
[**FeeConfigurationListBankModel**](FeeConfigurationListBankModel.md)
|
221
|
-
|
222
|
-
### Authorization
|
223
|
-
|
224
|
-
[BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
|
225
|
-
|
226
|
-
### HTTP request headers
|
227
|
-
|
228
|
-
- **Content-Type**: Not defined
|
229
|
-
- **Accept**: application/json
|
230
|
-
|
data/docs/PostFeeBankModel.md
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# CybridApiBank::PostFeeBankModel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **type** | **String** | The fee's type | |
|
8
|
-
| **spread_fee** | **Integer** | The percentage amount, in basis points, to apply when charging a fee. | [optional] |
|
9
|
-
| **fixed_fee** | **Integer** | The fixed amount, in the currency of the parent trading configuration, to apply when charging a fee. | [optional] |
|
10
|
-
|
11
|
-
## Example
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'cybrid_api_bank_ruby'
|
15
|
-
|
16
|
-
instance = CybridApiBank::PostFeeBankModel.new(
|
17
|
-
type: null,
|
18
|
-
spread_fee: null,
|
19
|
-
fixed_fee: null
|
20
|
-
)
|
21
|
-
```
|
22
|
-
|