Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Chore/freeze base url #45

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix base url
  • Loading branch information
djuks committed May 31, 2021
commit 176d341b2fc1bd2c306d459fd737828f15ec39db
2 changes: 1 addition & 1 deletion lib/binance/client/rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
module Binance
module Client
class REST
BASE_URL = Rails.env.test? ? 'https://testnet.binance.vision/api'.freeze : 'https://api.binance.com'.freeze
BASE_URL = Rails.env.test? ? 'https://testnet.binance.vision'.freeze : 'https://api.binance.com'.freeze

def initialize(api_key: '', secret_key: '',
adapter: Faraday.default_adapter)
Expand Down