Class: FlowChat::Config::HttpConfig
- Inherits:
-
Object
- Object
- FlowChat::Config::HttpConfig
- Defined in:
- lib/flow_chat/config.rb
Instance Attribute Summary collapse
-
#default_gateway ⇒ Object
Returns the value of attribute default_gateway.
-
#request_timeout ⇒ Object
Returns the value of attribute request_timeout.
-
#response_format ⇒ Object
Returns the value of attribute response_format.
Instance Method Summary collapse
-
#initialize ⇒ HttpConfig
constructor
A new instance of HttpConfig.
Constructor Details
#initialize ⇒ HttpConfig
Returns a new instance of HttpConfig.
100 101 102 103 104 |
# File 'lib/flow_chat/config.rb', line 100 def initialize @default_gateway = :simple @request_timeout = 30 @response_format = :json end |
Instance Attribute Details
#default_gateway ⇒ Object
Returns the value of attribute default_gateway.
98 99 100 |
# File 'lib/flow_chat/config.rb', line 98 def default_gateway @default_gateway end |
#request_timeout ⇒ Object
Returns the value of attribute request_timeout.
98 99 100 |
# File 'lib/flow_chat/config.rb', line 98 def request_timeout @request_timeout end |
#response_format ⇒ Object
Returns the value of attribute response_format.
98 99 100 |
# File 'lib/flow_chat/config.rb', line 98 def response_format @response_format end |