lib/huobi_client/request.rb in huobi_client-0.1.1 vs lib/huobi_client/request.rb in huobi_client-0.1.2
- old
+ new
@@ -48,10 +48,10 @@
def connection
options = {
url: HuobiClient::Config::BASE_URL,
headers: {
- user_agent: HuobiClient::Config::USER_AGENT
+ user_agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 ' + HuobiClient::Config::USER_AGENT
},
}
@connection ||= Faraday.new(options) do |conn|
conn.request :json