module Attio
def api_base
-
(String)
- The API base URL
def api_base configuration.api_base end
def api_key
-
(String, nil)
- The API key
def api_key configuration.api_key end
def api_key=(value)
-
(String)
- The API key
Parameters:
-
value
(String
) -- The API key
def api_key=(value) configuration.api_key = value end
def api_version
-
(String)
- The API version
def api_version configuration.api_version end
def client(api_key: nil)
-
(Client)
- The HTTP client
def client(api_key: nil) Client.new(api_key: api_key) end
def configuration
-
(Attio::Util::Configuration)
- The configuration instance
def configuration @configuration ||= Util::Configuration.new.tap(&:apply_env_vars!) end
def configure(&)
- Yieldparam: config - The configuration object
Other tags:
- Yield: - Configuration block
def configure(&) configuration.configure(&) end
def reset!
-
(nil)
-
def reset! @configuration = nil end