Open forkata opened 10 months ago
We should allow users of the extension to pass down an options hash to all calls made using the TaxJar client. This is useful in the case where a user wants to specify the timeout for requests as per the documentation here https://github.com/taxjar/taxjar-ruby/tree/master?tab=readme-ov-file#custom-options
options
timeout
Set request timeout in seconds:
client.tax_for_order({ timeout: 30 })
We should allow users of the extension to pass down an
options
hash to all calls made using the TaxJar client. This is useful in the case where a user wants to specify thetimeout
for requests as per the documentation here https://github.com/taxjar/taxjar-ruby/tree/master?tab=readme-ov-file#custom-optionsSet request timeout in seconds: