Class: DevinApi::Configuration
- Inherits:
-
Object
- Object
- DevinApi::Configuration
- Defined in:
- lib/devin_api/configuration.rb
Overview
Configuration class for the Devin API client
Instance Attribute Summary collapse
-
#access_token ⇒ String
The access token for authentication.
-
#logger ⇒ Logger
The logger to use.
-
#options ⇒ Hash
Additional options to pass to Faraday.
-
#url ⇒ String
The base URL of the Devin API.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
18 19 20 |
# File 'lib/devin_api/configuration.rb', line 18 def initialize @options = {} end |
Instance Attribute Details
#access_token ⇒ String
Returns The access token for authentication.
10 11 12 |
# File 'lib/devin_api/configuration.rb', line 10 def access_token @access_token end |
#logger ⇒ Logger
Returns The logger to use.
13 14 15 |
# File 'lib/devin_api/configuration.rb', line 13 def logger @logger end |
#options ⇒ Hash
Returns Additional options to pass to Faraday.
16 17 18 |
# File 'lib/devin_api/configuration.rb', line 16 def @options end |
#url ⇒ String
Returns The base URL of the Devin API.
7 8 9 |
# File 'lib/devin_api/configuration.rb', line 7 def url @url end |