Module: OpenapiClient

Defined in:
lib/openapi_client/lib/openapi_client/version.rb,
lib/openapi_client/lib/openapi_client.rb,
lib/openapi_client/lib/openapi_client/api_error.rb,
lib/openapi_client/lib/openapi_client/api_client.rb,
lib/openapi_client/lib/openapi_client/configuration.rb,
lib/openapi_client/lib/openapi_client/models/method.rb,
lib/openapi_client/lib/openapi_client/models/request.rb,
lib/openapi_client/lib/openapi_client/api/default_api.rb,
lib/openapi_client/lib/openapi_client/models/redirect.rb,
lib/openapi_client/lib/openapi_client/models/response.rb,
lib/openapi_client/lib/openapi_client/models/content_type.rb,
lib/openapi_client/lib/openapi_client/models/response_error.rb,
lib/openapi_client/lib/openapi_client/models/response_success.rb

Overview

#SSRF Forwarder

#This is an API that forwards request on behalf of other services.

The version of the OpenAPI document: 1.0.0-oas3-oas3-oas3 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 6.0.1

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, ContentType, DefaultApi, Method, Redirect, Request, Response, ResponseError, ResponseSuccess

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

OpenapiClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



39
40
41
42
43
44
45
# File 'lib/openapi_client/lib/openapi_client.rb', line 39

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end