Class: FlowChat::Config::HttpConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_chat/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHttpConfig

Returns a new instance of HttpConfig.



80
81
82
83
84
# File 'lib/flow_chat/config.rb', line 80

def initialize
  @default_gateway = :simple
  @request_timeout = 30
  @response_format = :json
end

Instance Attribute Details

#default_gatewayObject

Returns the value of attribute default_gateway.



78
79
80
# File 'lib/flow_chat/config.rb', line 78

def default_gateway
  @default_gateway
end

#request_timeoutObject

Returns the value of attribute request_timeout.



78
79
80
# File 'lib/flow_chat/config.rb', line 78

def request_timeout
  @request_timeout
end

#response_formatObject

Returns the value of attribute response_format.



78
79
80
# File 'lib/flow_chat/config.rb', line 78

def response_format
  @response_format
end