Module: SourcesApiClient

Defined in:
lib/sources-api-client/version.rb,
lib/sources-api-client.rb,
lib/sources-api-client/api_error.rb,
lib/sources-api-client/api_client.rb,
lib/sources-api-client/configuration.rb,
lib/sources-api-client/models/source.rb,
lib/sources-api-client/api/default_api.rb,
lib/sources-api-client/models/endpoint.rb,
lib/sources-api-client/models/application.rb,
lib/sources-api-client/models/source_type.rb,
lib/sources-api-client/models/authentication.rb,
lib/sources-api-client/models/error_not_found.rb,
lib/sources-api-client/models/application_type.rb,
lib/sources-api-client/models/collection_links.rb,
lib/sources-api-client/models/graph_ql_request.rb,
lib/sources-api-client/models/graph_ql_response.rb,
lib/sources-api-client/models/sources_collection.rb,
lib/sources-api-client/models/collection_metadata.rb,
lib/sources-api-client/models/authentication_extra.rb,
lib/sources-api-client/models/endpoints_collection.rb,
lib/sources-api-client/models/error_not_found_errors.rb,
lib/sources-api-client/models/applications_collection.rb,
lib/sources-api-client/models/source_types_collection.rb,
lib/sources-api-client/models/application_authentication.rb,
lib/sources-api-client/models/authentication_extra_azure.rb,
lib/sources-api-client/models/authentications_collection.rb,
lib/sources-api-client/models/application_types_collection.rb,
lib/sources-api-client/models/application_authentications_collection.rb

Overview

#Sources

#Sources

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

Defined Under Namespace

Classes: ApiClient, ApiError, Application, ApplicationAuthentication, ApplicationAuthenticationsCollection, ApplicationType, ApplicationTypesCollection, ApplicationsCollection, Authentication, AuthenticationExtra, AuthenticationExtraAzure, AuthenticationsCollection, CollectionLinks, CollectionMetadata, Configuration, DefaultApi, Endpoint, EndpointsCollection, ErrorNotFound, ErrorNotFoundErrors, GraphQLRequest, GraphQLResponse, Source, SourceType, SourceTypesCollection, SourcesCollection

Constant Summary collapse

VERSION =
'3.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.


54
55
56
57
58
59
60
# File 'lib/sources-api-client.rb', line 54

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