Class: Riffer::Config::OpenAI
- Inherits:
-
Struct
- Object
- Struct
- Riffer::Config::OpenAI
- Defined in:
- lib/riffer/config.rb,
sig/generated/riffer/config.rbs
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#client ⇒ Object
Returns the value of attribute client.
Class Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key
10 11 12 |
# File 'lib/riffer/config.rb', line 10 def api_key @api_key end |
#base_url ⇒ Object
Returns the value of attribute base_url
10 11 12 |
# File 'lib/riffer/config.rb', line 10 def base_url @base_url end |
#client ⇒ Object
Returns the value of attribute client
10 11 12 |
# File 'lib/riffer/config.rb', line 10 def client @client end |
Class Method Details
.new(api_key, base_url, client) ⇒ instance .new(api_key:, base_url:, client:) ⇒ instance
52 53 |
# File 'sig/generated/riffer/config.rbs', line 52
def self.new: (?untyped api_key, ?untyped base_url, ?untyped client) -> instance
| (?api_key: untyped, ?base_url: untyped, ?client: untyped) -> instance
|