I tried to add a request timeout connection option, but it caused the API request to stop requesting JSON data and get XML data which was generated a JSON parse error.
client = Tradier::Client.new({
access_token: 'token values here',
connection_options: { request: { timeout: 30 } },
})
I would have expected my connection_options to be merged with default connection options and have the headers: { :accept => 'application/json' } configuration maintained.