Sha256: d31d23e36ad1ad03d248e60e0af396f39ff9bb5a410e11cdd5a804da8cc848dd
Contents?: true
Size: 1.66 KB
Versions: 7
Compression:
Stored size: 1.66 KB
Contents
=begin #Datadog API V1 Collection #Collection of all Datadog Public endpoints. The version of the OpenAPI document: 1.0 Contact: support@datadoghq.com Generated by: https://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. =end require 'spec_helper' require 'json' # Unit tests for DatadogAPIClient::V1::LogsAPI # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'LogsAPI' do before do # run before each test @api_instance = DatadogAPIClient::V1::LogsAPI.new end after do # run after each test end describe 'test an instance of LogsAPI' do it 'should create an instance of LogsAPI' do expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::LogsAPI) end end # unit tests for list_logs # Search logs # List endpoint returns logs that match a log search query. [Results are paginated][1]. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives # @param body Logs filter # @param [Hash] opts the optional parameters # @return [LogsListResponse] describe 'list_logs test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
7 entries across 7 versions & 1 rubygems