Closed conr closed 8 months ago
Curious to get some thoughts and opinions on this approach so far 🙂
Allow users to configure a specific version of the API. By default, fallback to the latest version of the API hardcoded in api_configuration.rb.
api_configuration.rb
WhatsappSdk.configure do |config| config.access_token = ACCESS_TOKEN config.api_version = "v16.0" end
Could you add validations to the value passed? We could have a file that lists all the possible apis.
Yes, sounds good 👍🏻
Curious to get some thoughts and opinions on this approach so far 🙂
Allow users to configure a specific version of the API. By default, fallback to the latest version of the API hardcoded in
api_configuration.rb
.