Sha256: 8dd6239c125f0a8701e110bb35d072cf6fa702cecf38f7137899d2bcd3916b97
Contents?: true
Size: 370 Bytes
Versions: 20
Compression:
Stored size: 370 Bytes
Contents
# frozen_string_literal: true module OmniAI # A configuration for each agent w/ `api_key` / `host` / `logger`. class Config attr_accessor :api_key, :host, :logger # @return [String] def inspect masked_api_key = "#{api_key[..2]}***" if api_key "#<#{self.class.name} api_key=#{masked_api_key.inspect} host=#{host.inspect}>" end end end
Version data entries
20 entries across 20 versions & 1 rubygems