lib/ding/sdkconfiguration.rb in ding_sdk-0.5.1 vs lib/ding/sdkconfiguration.rb in ding_sdk-0.5.2

- old
+ new

@@ -5,22 +5,22 @@ require 'faraday' require 'faraday/multipart' require 'sorbet-runtime' -module OpenApiSDK +module DingSDK extend T::Sig SERVER_PRODUCTION = 'production' # The production Ding API server SERVERS = { SERVER_PRODUCTION: 'https://api.ding.live/v1', }.freeze # Contains the list of servers available to the SDK - class SDKConfiguration < OpenApiSDK::Utils::FieldAugmented + class SDKConfiguration < ::DingSDK::Utils::FieldAugmented extend T::Sig field :client, T.nilable(Faraday::Connection) field :security, Shared::Security field :server_url, T.nilable(String) @@ -36,12 +36,12 @@ def initialize(client, security, server_url, server_idx) @client = client @server = server_url.nil? ? '' : server_url @language = 'ruby' @openapi_doc_version = '1.0.0' - @sdk_version = '0.5.1' - @gen_version = '2.231.0' - @user_agent = 'speakeasy-sdk/ruby 0.5.1 2.231.0 1.0.0 ding_sdk' + @sdk_version = '0.5.2' + @gen_version = '2.234.3' + @user_agent = 'speakeasy-sdk/ruby 0.5.2 2.234.3 1.0.0 ding_sdk' end sig { returns([String, T::Hash[Symbol, String]]) } def get_server_details return [@server_url.delete_suffix('/'), {}] if !@server_url.nil?