Class: Deepseek::Configuration
- Inherits:
-
Object
- Object
- Deepseek::Configuration
- Defined in:
- lib/deepseek-ruby/client.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#http_adapter ⇒ Object
Returns the value of attribute http_adapter.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_key ⇒ Object
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_url ⇒ Object
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_adapter ⇒ Object
Returns the value of attribute http_adapter.
6 7 8 |
# File 'lib/deepseek-ruby/client.rb', line 6 def http_adapter @http_adapter end |