Class: CrewAI::Configuration
- Inherits:
-
Object
- Object
- CrewAI::Configuration
- Defined in:
- lib/crewai/configuration.rb
Constant Summary collapse
- DEFAULT_OPEN_TIMEOUT =
10- DEFAULT_READ_TIMEOUT =
30- DEFAULT_WRITE_TIMEOUT =
30
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
#read_timeout ⇒ Object
Returns the value of attribute read_timeout.
-
#uri_base ⇒ Object
Returns the value of attribute uri_base.
-
#write_timeout ⇒ Object
Returns the value of attribute write_timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 |
# File 'lib/crewai/configuration.rb', line 15 def initialize @open_timeout = DEFAULT_OPEN_TIMEOUT @read_timeout = DEFAULT_READ_TIMEOUT @write_timeout = DEFAULT_WRITE_TIMEOUT end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
9 10 11 |
# File 'lib/crewai/configuration.rb', line 9 def access_token @access_token end |
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
9 10 11 |
# File 'lib/crewai/configuration.rb', line 9 def open_timeout @open_timeout end |
#read_timeout ⇒ Object
Returns the value of attribute read_timeout.
9 10 11 |
# File 'lib/crewai/configuration.rb', line 9 def read_timeout @read_timeout end |
#uri_base ⇒ Object
Returns the value of attribute uri_base.
9 10 11 |
# File 'lib/crewai/configuration.rb', line 9 def uri_base @uri_base end |
#write_timeout ⇒ Object
Returns the value of attribute write_timeout.
9 10 11 |
# File 'lib/crewai/configuration.rb', line 9 def write_timeout @write_timeout end |