Module: RestClient::WithUserAgent

Included in:
Request
Defined in:
lib/bitex_bot.rb

Overview

On Itbit and Bitstamp, the mechanism to set bitex-bot user-agent are different.

Instance Method Summary collapse

Instance Method Details

#default_headersObject



53
54
55
# File 'lib/bitex_bot.rb', line 53

def default_headers
  super.merge(user_agent: BitexBot.user_agent)
end