lib/smooch-api/configuration.rb in smooch-api-1.1.0 vs lib/smooch-api/configuration.rb in smooch-api-1.2.0
- old
+ new
@@ -1,13 +1,14 @@
=begin
#Smooch
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
-OpenAPI spec version: 1.1
+OpenAPI spec version: 1.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
+Swagger Codegen version: 2.2.3-SNAPSHOT
=end
require 'uri'
@@ -73,10 +74,15 @@
# The time limit for HTTP request in seconds.
# Default to 0 (never times out).
attr_accessor :timeout
+ # Set this to false to skip client side validation in the operation.
+ # Default to true.
+ # @return [true, false]
+ attr_accessor :client_side_validation
+
### TLS/SSL setting
# Set this to false to skip verifying SSL certificate when calling API from https server.
# Default to true.
#
# @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks.
@@ -126,9 +132,10 @@
@host = 'api.smooch.io'
@base_path = '/v1'
@api_key = {}
@api_key_prefix = {}
@timeout = 0
+ @client_side_validation = true
@verify_ssl = true
@verify_ssl_host = true
@params_encoding = nil
@cert_file = nil
@key_file = nil