lib/binance/client/rest.rb
def public_client(adapter)
        Faraday.new(url: "#{BASE_URL}/api") do |conn|
          conn.request :json
          conn.response :json, content_type: /\bjson$/
          conn.adapter adapter
        end
      end
# Public: String base url for REST client to use
String base url for REST client to use
String base url for REST client to use
def public_client(adapter)
        Faraday.new(url: "#{BASE_URL}/api") do |conn|
          conn.request :json
          conn.response :json, content_type: /\bjson$/
          conn.adapter adapter
        end
      end
def public_client ( adapter ) Faraday . new ( url : "#{BASE_URL}/api" ) do | conn | conn . request :json conn . response :json , content_type : / \b json$ / conn . adapter adapter end end
Public: String base url for REST client to use
Public : String base url for REST client to use
adapter