source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_oco_order_spec.rb
Ruby
mit
45
master
1,441
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_oco_order' do let(:path) { '/sapi/v1/margin/order/oco' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:post, path, ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_transfer_history_spec.rb
Ruby
mit
45
master
678
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_transfer_history' do let(:path) { '/sapi/v1/margin/transfer' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:asset) { 'BNB' } before do mocking_signature_and_ts(**params) stub_bina...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/get_cross_margin_data_spec.rb
Ruby
mit
45
master
889
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#get_cross_margin_data' do let(:path) { '/sapi/v1/margin/crossMarginData' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:g...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/get_isolated_margin_tier_spec.rb
Ruby
mit
45
master
929
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#get_isolated_margin_tier' do let(:path) { '/sapi/v1/margin/isolatedMarginTier' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_requ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_new_order_spec.rb
Ruby
mit
45
master
1,783
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_new_order' do let(:path) { '/sapi/v1/margin/order' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:post, path, stat...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_my_trades_spec.rb
Ruby
mit
45
master
1,023
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_my_trades' do let(:path) { '/sapi/v1/margin/myTrades' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get, path, st...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/get_isolated_margin_data_spec.rb
Ruby
mit
45
master
907
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#get_isolated_margin_data' do let(:path) { '/sapi/v1/margin/isolatedMarginData' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_requ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/enable_isolated_margin_account_spec.rb
Ruby
mit
45
master
923
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#enable_isolated_margin_account' do let(:path) { '/sapi/v1/margin/isolated/account' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_price_index_spec.rb
Ruby
mit
45
master
856
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_price_index' do let(:path) { '/sapi/v1/margin/priceIndex' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:symbol) { 'BNB' } before do stub_binance_request(:get, path, status, body) e...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_max_transferable_spec.rb
Ruby
mit
45
master
964
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_max_transferable' do let(:path) { '/sapi/v1/margin/maxTransferable' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/get_all_isolated_margin_pairs_spec.rb
Ruby
mit
45
master
936
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_get_all_isolated_margin_pairs' do let(:path) { '/sapi/v1/margin/isolated/allPairs' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**p...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_borrow_repay_record.rb
Ruby
mit
45
master
974
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#margin_borrow_repay_record' do let(:path) { '/sapi/v1/margin/borrow-repay' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_all_assets_spec.rb
Ruby
mit
45
master
509
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_all_assets' do let(:path) { '/sapi/v1/margin/allAssets ' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_re...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_order_spec.rb
Ruby
mit
45
master
923
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_order' do let(:path) { '/sapi/v1/margin/order' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get, path, status, b...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/toggle_bnb_burn_spec.rb
Ruby
mit
45
master
809
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#toggle_bnb_burn' do let(:path) { '/sapi/v1/bnbBurn' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:post, path, status, bo...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_all_orders_spec.rb
Ruby
mit
45
master
1,017
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_all_orders' do let(:path) { '/sapi/v1/margin/allOrders' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get, path, ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_borrow_repay.rb
Ruby
mit
45
master
1,467
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#margin_borrow_repay' do let(:path) { '/sapi/v1/margin/borrow-repay' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:post,...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_interest_history.rb
Ruby
mit
45
master
762
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_interest_history' do let(:path) { '/sapi/v1/margin/interestHistory' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_force_liquidation_record_spec.rb
Ruby
mit
45
master
773
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_force_liquidation_record' do let(:path) { '/sapi/v1/margin/forceLiquidationRec' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_s...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_get_all_oco_spec.rb
Ruby
mit
45
master
850
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_get_all_oco' do let(:path) { '/sapi/v1/margin/allOrderList' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get, pa...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_leverage_bracket.rb
Ruby
mit
45
master
525
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#margin_leverage_bracket' do let(:path) { '/sapi/v1/margin/leverageBracket' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) end it ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_cancel_oco_spec.rb
Ruby
mit
45
master
865
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_cancel_oco' do let(:path) { '/sapi/v1/margin/orderList' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:delete, pat...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/get_isolated_margin_account_limit_spec.rb
Ruby
mit
45
master
886
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#get_isolated_margin_account_limit' do let(:path) { '/sapi/v1/margin/isolated/accountLimit' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_cancel_order_spec.rb
Ruby
mit
45
master
1,101
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_cancel_order' do let(:path) { '/sapi/v1/margin/order' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:delete, path,...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/get_bnb_burn_spec.rb
Ruby
mit
45
master
856
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_get_bnb_burn' do let(:path) { '/sapi/v1/bnbBurn' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign_reque...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_all_pairs_spec.rb
Ruby
mit
45
master
505
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_all_pairs' do let(:path) { '/sapi/v1/margin/allPairs ' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_requ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_max_borrowable_spec.rb
Ruby
mit
45
master
954
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_max_borrowable' do let(:path) { '/sapi/v1/margin/maxBorrowable' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_manual_liquidation.rb
Ruby
mit
45
master
975
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#margin_manual_liquidation' do let(:path) { '/sapi/v1/margin/manual-liquidation' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_re...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/disable_isolated_margin_account_spec.rb
Ruby
mit
45
master
931
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#disable_isolated_margin_account' do let(:path) { '/sapi/v1/margin/isolated/account' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/margin/margin_account_spec.rb
Ruby
mit
45
master
788
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Margin, '#margin_account' do let(:path) { '/sapi/v1/margin/account' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign_req...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/ticker_24hr_spec.rb
Ruby
mit
45
master
755
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#ticker_24hr' do let(:symbol) { 'BNBUSDT' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end context 'with symbol' do let(:path) { "...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/historical_trades_spec.rb
Ruby
mit
45
master
1,091
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#trades' do let(:symbol) { 'BNBUSDT' } let(:path) { "/api/v3/historicalTrades?symbol=#{symbol}" } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, bo...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/avg_price_spec.rb
Ruby
mit
45
master
665
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#avgPrice' do let(:symbol) { 'BNBUSDT' } let(:path) { "/api/v3/avgPrice?symbol=#{symbol}" } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/ticker_spec.rb
Ruby
mit
45
master
1,095
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#ticker' do let(:symbol) { 'BNBUSDT' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end context 'with both symbol and symbols' do le...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/depth_spec.rb
Ruby
mit
45
master
970
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#depth' do let(:symbol) { 'BNBUSDT' } let(:path) { "/api/v3/depth?symbol=#{symbol}" } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/ticker_price_spec.rb
Ruby
mit
45
master
757
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#ticker_price' do let(:symbol) { 'BNBUSDT' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end context 'with symbol' do let(:path) { ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/ping_spec.rb
Ruby
mit
45
master
380
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#ping' do let(:path) { '/api/v3/ping' } let(:body) { {}.to_json } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end it 'should return empty body' do spot_client.ping exp...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/ui_klines.rb
Ruby
mit
45
master
1,369
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#ui_klines' do let(:symbol) { 'BNBUSDT' } let(:interval) { '1m' } let(:path) { "/api/v3/uiKlines?symbol=#{symbol}&interval=#{interval}" } let(:body) { fixture('response.json') } let(:status) { 200 } before do s...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/ticker_trading_day.rb
Ruby
mit
45
master
977
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#ticker_trading_day' do let(:path) { '/api/v3/ticker/tradingDay' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get, path...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/trades_spec.rb
Ruby
mit
45
master
970
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#trades' do let(:symbol) { 'BNBUSDT' } let(:path) { "/api/v3/trades?symbol=#{symbol}" } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/agg_trades_spec.rb
Ruby
mit
45
master
1,147
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#agg_trades' do let(:symbol) { 'BNBUSDT' } let(:path) { "/api/v3/aggTrades?symbol=#{symbol}" } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body)...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/exchangeinfo_spec.rb
Ruby
mit
45
master
2,182
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#exchangeInfo' do let(:path) { '/api/v3/exchangeInfo' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end it 'should return exchangeInfo'...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/book_ticker_spec.rb
Ruby
mit
45
master
767
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#book_ticker' do let(:symbol) { 'BNBUSDT' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end context 'with symbol' do let(:path) { "...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/time_spec.rb
Ruby
mit
45
master
388
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#time' do let(:path) { '/api/v3/time' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end it 'should return time' do spot_client.time...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/market/klines_spec.rb
Ruby
mit
45
master
1,364
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Market, '#klines' do let(:symbol) { 'BNBUSDT' } let(:interval) { '1m' } let(:path) { "/api/v3/klines?symbol=#{symbol}&interval=#{interval}" } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_b...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/get_user_asset_spec.rb
Ruby
mit
45
master
696
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#get_user_asset' do let(:path) { '/sapi/v3/asset/getUserAsset' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/api_trading_status_spec.rb
Ruby
mit
45
master
815
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#api_trading_status' do let(:path) { '/sapi/v1/account/apiTradingStatus' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_bi...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/enable_fast_withdraw_spec.rb
Ruby
mit
45
master
556
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#enable_fast_withdraw' do let(:path) { '/sapi/v1/account/enableFastWithdrawSwitch' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/account_snapshot_spec.rb
Ruby
mit
45
master
983
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#account_snapshot' do let(:path) { '/sapi/v1/accountSnapshot' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign_...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/withdraw_spec.rb
Ruby
mit
45
master
1,144
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#withdraw' do let(:path) { '/sapi/v1/capital/withdraw/apply' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:post, path, st...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/deposit_history_spec.rb
Ruby
mit
45
master
817
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#deposit_history' do let(:path) { '/sapi/v1/capital/deposit/hisrec' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/system_status_spec.rb
Ruby
mit
45
master
408
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#system_status' do let(:path) { '/sapi/v1/system/status' } let(:body) { {}.to_json } let(:status) { 200 } before do stub_binance_request(:get, path, status, body) end it 'should return empty body' do spot_...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/asset_devidend_record_spec.rb
Ruby
mit
45
master
742
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#asset_devidend_record' do let(:path) { '/sapi/v1/asset/assetDividend' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get,...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/one_click_arrival_deposit_apply.rb
Ruby
mit
45
master
526
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#one_click_arrival_deposit_apply' do let(:path) { '/sapi/v1/capital/deposit/credit-apply' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:post, path, status, bod...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/api_key_permission_spec.rb
Ruby
mit
45
master
814
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#api_key_permission' do let(:path) { '/sapi/v1/account/apiRestrictions' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_bin...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/account_status_spec.rb
Ruby
mit
45
master
785
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#account_status' do let(:path) { '/sapi/v1/account/status' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign_req...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/user_delegation_history.rb
Ruby
mit
45
master
500
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#user_delegation_history' do let(:path) { '/sapi/v1/asset/custody/transfer-history' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) en...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/get_assets_converted_into_bnb.rb
Ruby
mit
45
master
512
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_assets_converted_into_bnb' do let(:path) { '/sapi/v1/asset/dust-btc' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:post, path, status, body) end it '...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/account_info.rb
Ruby
mit
45
master
456
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#account_info' do let(:path) { '/sapi/v1/account/info' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) end it 'should return accoun...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/withdraw_history_spec.rb
Ruby
mit
45
master
822
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#withdraw_history' do let(:path) { '/sapi/v1/capital/withdraw/history' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_bina...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/coin_info_spec.rb
Ruby
mit
45
master
521
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#coin_info' do let(:path) { '/sapi/v1/capital/config/getall ' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign_...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/user_universal_transfer_history_spec.rb
Ruby
mit
45
master
943
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#user_universal_transfer_history' do let(:path) { '/sapi/v1/asset/transfer' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/user_universal_transfer_spec.rb
Ruby
mit
45
master
1,105
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#user_universal_transfer' do let(:path) { '/sapi/v1/asset/transfer' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:post, p...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/disable_fast_withdraw_spec.rb
Ruby
mit
45
master
560
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#disable_fast_withdraw' do let(:path) { '/sapi/v1/account/disableFastWithdrawSwitch' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params)...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/funding_wallet_spec.rb
Ruby
mit
45
master
797
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#funding_wallet' do let(:path) { '/sapi/v1/asset/get-funding-asset' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/dust_log_spec.rb
Ruby
mit
45
master
745
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#dust_log' do let(:path) { '/sapi/v1/asset/dribblet' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/deposit_address_spec.rb
Ruby
mit
45
master
929
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#deposit_address' do let(:path) { '/sapi/v1/capital/deposit/address' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binanc...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/deposit_address_list.rb
Ruby
mit
45
master
966
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#deposit_address_list' do let(:path) { '/sapi/v1/capital/deposit/address/list' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_requ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/asset_detail_spec.rb
Ruby
mit
45
master
780
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#asset_detail' do let(:path) { '/sapi/v1/asset/assetDetail' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign_re...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/dust_transfer_spec.rb
Ruby
mit
45
master
959
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#dust_transfer' do let(:path) { '/sapi/v1/asset/dust ' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) do { asset: %w[EOS ETH] } end before do mocking_signature_and_ts(...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/delist_schedule.rb
Ruby
mit
45
master
483
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#delist_schedule' do let(:path) { '/sapi/v1/spot/delist-schedule' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) end it 'should re...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/trade_fee_spec.rb
Ruby
mit
45
master
760
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Wallet, '#trade_fee' do let(:path) { '/sapi/v1/asset/tradeFee' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do mocking_signature_and_ts(**params) stub_binance_sign_request(...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/wallet_balance.rb
Ruby
mit
45
master
468
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#wallet_balance' do let(:path) { '/sapi/v1/asset/wallet/balance' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) end it 'should ret...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/wallet/cloud_mining_payment_and_refund_history.rb
Ruby
mit
45
master
564
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#cloud_mining_payment_and_refund_history' do let(:path) { '/sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_reques...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/fiat/fiat_deposit_withdraw_history_spec.rb
Ruby
mit
45
master
920
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Fiat, '#fiat_deposit_withdraw_history' do let(:path) { '/sapi/v1/fiat/orders' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get, p...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/fiat/fiat_payment_history_spec.rb
Ruby
mit
45
master
884
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Fiat, '#fiat_payment_history' do let(:path) { '/sapi/v1/fiat/payments' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:get, path, st...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_flexible_loan_borrow_history.rb
Ruby
mit
45
master
521
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_flexible_loan_borrow_history' do let(:path) { '/sapi/v2/loan/flexible/borrow/history' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, bod...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_flexible_loan_ltv_adjustment_history.rb
Ruby
mit
45
master
553
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_flexible_loan_ltv_adjustment_history' do let(:path) { '/sapi/v2/loan/flexible/ltv/adjustment/history' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, p...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_flexible_loan_assets_data.rb
Ruby
mit
45
master
544
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_flexible_loan_assets_data' do let(:path) { '/sapi/v2/loan/flexible/loanable/data' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_loan_borrow_history.rb
Ruby
mit
45
master
485
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_loan_borrow_history' do let(:path) { '/sapi/v1/loan/borrow/history' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) end it 'sh...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_flexible_loan_repayment_history.rb
Ruby
mit
45
master
529
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_flexible_loan_repayment_history' do let(:path) { '/sapi/v2/loan/flexible/repay/history' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, b...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_flexible_loan_collateral_data.rb
Ruby
mit
45
master
568
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_flexible_loan_collateral_data' do let(:path) { '/sapi/v2/loan/flexible/collateral/data' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, b...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/repay_flexible_loan.rb
Ruby
mit
45
master
1,167
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#repay_flexible_loan' do let(:path) { '/sapi/v2/loan/flexible/repay' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:post,...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_loan_history.rb
Ruby
mit
45
master
473
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_loan_history' do let(:path) { '/sapi/v1/loan/income' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) end it 'should accept the...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/adjust_flexible_loan_ltv.rb
Ruby
mit
45
master
1,407
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#adjust_flexible_loan_ltv' do let(:path) { '/sapi/v2/loan/flexible/adjust/ltv' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_requ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_loan_repayment_history.rb
Ruby
mit
45
master
493
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_loan_repayment_history' do let(:path) { '/sapi/v1/loan/repay/history' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body) end it '...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_flexible_loan_ongoing_orders.rb
Ruby
mit
45
master
521
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_flexible_loan_ongoing_orders' do let(:path) { '/sapi/v2/loan/flexible/ongoing/orders' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, bod...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/borrow_flexible_loan.rb
Ruby
mit
45
master
1,096
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#borrow_flexible_loan' do let(:path) { '/sapi/v2/loan/flexible/borrow' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_request(:pos...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/loan/get_loan_ltv_adjustment_history.rb
Ruby
mit
45
master
517
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#get_loan_ltv_adjustment_history' do let(:path) { '/sapi/v1/loan/ltv/adjustment/history' } let(:body) { fixture('response.json') } let(:status) { 200 } before do stub_binance_sign_request(:get, path, status, body)...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/stream/new_listen_key_spec.rb
Ruby
mit
45
master
501
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Trade, '#new_listen_key' do let(:path) { '/api/v3/userDataStream' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do # mocking_signature_and_ts(**params) stub_binance_request(...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/stream/delete_listen_key_spec.rb
Ruby
mit
45
master
619
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Trade, '#delete_listen_key' do let(:path) { '/api/v3/userDataStream' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:listenKey) { 'listen_key' } let(:params) { {} } before do stub_binance_request(:de...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/stream/new_margin_listen_key_spec.rb
Ruby
mit
45
master
482
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Trade, '#new_margin_listen_key' do let(:path) { '/sapi/v1/userDataStream' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:params) { {} } before do stub_binance_request(:post, path, status, body) end ...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/stream/delete_margin_listen_key_spec.rb
Ruby
mit
45
master
635
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Trade, '#delete_margin_listen_key' do let(:path) { '/sapi/v1/userDataStream' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:listenKey) { 'listen_key' } let(:params) { {} } before do stub_binance_req...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/stream/renew_listen_key_spec.rb
Ruby
mit
45
master
610
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Trade, '#renew_listen_key' do let(:path) { '/api/v3/userDataStream' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:listenKey) { 'listen_key' } let(:params) { {} } before do stub_binance_request(:put...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/stream/renew_margin_listen_key_spec.rb
Ruby
mit
45
master
632
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Trade, '#renew_margin_listen_key' do let(:path) { '/api/v3/userDataStream' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:listenKey) { 'listen_key' } let(:params) { {} } before do stub_binance_reque...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/subaccount/sub_account_enable_blvt_spec.rb
Ruby
mit
45
master
1,048
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Subaccount, '#sub_account_enable_blvt' do let(:path) { '/sapi/v1/sub-account/blvt/enable' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params) stub_binance_sign_req...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/subaccount/sub_account_toggle_ip_restriction_spec.rb
Ruby
mit
45
master
1,368
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Subaccount, '#sub_account_toggle_ip_restriction' do let(:path) { '/sapi/v2/sub-account/subAccountApi/ipRestriction' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:sub_acct_api_key) { 'the_api_key' } let(:e...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/subaccount/sub_account_delete_ip_list_spec.rb
Ruby
mit
45
master
1,329
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Subaccount, '#sub_account_delete_ip_list' do let(:path) { '/sapi/v1/sub-account/subAccountApi/ipRestriction/ipList' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:sub_acct_api_key) { 'the_api_key' } let(:e...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/subaccount/sub_account_transfer_log_investor.rb
Ruby
mit
45
master
1,642
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Convert, '#sub_account_transfer_log_investor' do let(:path) { '/sapi/v1/managed-subaccount/queryTransLogForInvestor' } let(:body) { fixture('response.json') } let(:status) { 200 } before do mocking_signature_and_ts(**params...
github
binance/binance-connector-ruby
https://github.com/binance/binance-connector-ruby
spec/binance/spot/subaccount/sub_account_ip_list_spec.rb
Ruby
mit
45
master
1,173
# frozen_string_literal: true require 'spec_helper' RSpec.describe Binance::Spot::Subaccount, '#sub_account_ip_list' do let(:path) { '/sapi/v1/sub-account/subAccountApi/ipRestriction' } let(:body) { fixture('response.json') } let(:status) { 200 } let(:sub_acct_api_key) { 'the_api_key' } let(:email) { 'alice...