Method: OmniAI::Client#initialize
- Defined in:
- lib/omniai/client.rb
#initialize(api_key: nil, logger: nil, host: nil, timeout: nil) ⇒ Client
Returns a new instance of Client.
158 159 160 161 162 163 |
# File 'lib/omniai/client.rb', line 158 def initialize(api_key: nil, logger: nil, host: nil, timeout: nil) @api_key = api_key @host = host @logger = logger @timeout = timeout end |