module DatadogAPIClient::V1
Extend the automatically-generated client configuration classes with a user-friendly authentication configuration, hiding the original api_key method.
#Datadog API V1
Collection
#Collection of all Datadog Public endpoints.
The version of the OpenAPI document: 1.0 Contact: support@datadoghq.com Generated by: openapi-generator.tech
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2020-Present Datadog, Inc.
#Datadog API V1
Collection
#Collection of all Datadog Public endpoints.
The version of the OpenAPI document: 1.0 Contact: support@datadoghq.com Generated by: openapi-generator.tech
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2020-Present Datadog, Inc.
Public Class Methods
configure() { |default| ... }
click to toggle source
Customize default settings for the SDK using block.
DatadogAPIClient::V1.configure do |config| config.username = "xxx" config.password = "xxx" end
If no block given, return the default Configuration
object.
# File lib/datadog_api_client/v1.rb, line 648 def configure if block_given? yield(Configuration.default) else Configuration.default end end