Class: Deepseek::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/deepseek-ruby/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
# File 'lib/deepseek-ruby/client.rb', line 8

def initialize
  @base_url = 'https://api.deepseek.com/v1'
  @http_adapter = Faraday.default_adapter
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



6
7
8
# File 'lib/deepseek-ruby/client.rb', line 6

def api_key
  @api_key
end

#base_urlObject

Returns the value of attribute base_url.



6
7
8
# File 'lib/deepseek-ruby/client.rb', line 6

def base_url
  @base_url
end

#http_adapterObject

Returns the value of attribute http_adapter.



6
7
8
# File 'lib/deepseek-ruby/client.rb', line 6

def http_adapter
  @http_adapter
end