-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
According to the documentation, the way to specify the specific API version you want is with an accept header like: "application/vnd.connectwise.com+json; version=3.0.0"
Currently I'm doing this to set it:
ConnectWise::ApiClient.default.default_headers['Accept'] = "application/vnd.connectwise.com+json; version=3.0.0"
but it would be nice if I could just pass the version in the configuration block like so:
ConnectWise.configure do |config|
config.api_version = '3.0.0'
end
What do you think about adding that? I'd be happy to submit a PR if you like the idea.