lib/ding_sdk/sdkconfiguration.rb in ding_sdk-0.8.0 vs lib/ding_sdk/sdkconfiguration.rb in ding_sdk-0.8.1

- old
+ new

@@ -25,28 +25,29 @@ field :language, String field :openapi_doc_version, String field :sdk_version, String field :gen_version, String field :user_agent, String - - + + sig { params(client: Faraday::Connection, security: T.nilable(Shared::Security), server_url: T.nilable(String), server_idx: T.nilable(Integer)).void } def initialize(client, security, server_url, server_idx) @client = client @server_url = server_url @server_idx = server_idx.nil? ? 0 : server_idx + @security = security @language = 'ruby' @openapi_doc_version = '1.0.0' - @sdk_version = '0.8.0' - @gen_version = '2.263.3' - @user_agent = 'speakeasy-sdk/ruby 0.8.0 2.263.3 1.0.0 ding_sdk' + @sdk_version = '0.8.1' + @gen_version = '2.272.7' + @user_agent = 'speakeasy-sdk/ruby 0.8.1 2.272.7 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? @server_idx = 0 if @server_idx.nil? - + [SERVERS[@server_idx], {}] end end end