lib/purecloud/api/languages_api.rb in purecloud-0.40.1 vs lib/purecloud/api/languages_api.rb in purecloud-0.41.1
- old
+ new
@@ -165,11 +165,11 @@
def get_languages_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: LanguagesApi#get_languages ..."
end
- if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
- fail 'invalid value for "sort_order", must be one of [ascending, descending]'
+ if opts[:'sort_order'] && !['ascending', 'descending'].include?(opts[:'sort_order'])
+ fail 'invalid value for "sort_order", must be one of ascending, descending'
end
# resource path
local_var_path = "/api/v2/languages".sub('{format}','json')