lib/ding/sdkconfiguration.rb in ding_sdk-0.4.3 vs lib/ding/sdkconfiguration.rb in ding_sdk-0.5.0

- old
+ new

@@ -23,26 +23,25 @@ field :client, T.nilable(Faraday::Connection) field :security, Shared::Security field :server_url, T.nilable(String) field :server, T.nilable(String) - field :server_defaults, Hash[Symbol, Hash[Symbol, String]], { 'default_factory': Hash} 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), server_defaults: T::Hash[Symbol, String], globals: T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]]).void } - def initialize(client, security, server_url, server_idx, server_defaults, globals) + 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 = server_url.nil? ? '' : server_url @language = 'ruby' @openapi_doc_version = '1.0.0' - @sdk_version = '0.4.3' - @gen_version = '2.210.6' - @user_agent = 'speakeasy-sdk/ruby 0.4.3 2.210.6 1.0.0 ding_sdk' + @sdk_version = '0.5.0' + @gen_version = '2.213.3' + @user_agent = 'speakeasy-sdk/ruby 0.5.0 2.213.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?