Module: PulpGemClient

Defined in:
lib/pulp_gem_client/version.rb,
lib/pulp_gem_client.rb,
lib/pulp_gem_client/api_error.rb,
lib/pulp_gem_client/api_client.rb,
lib/pulp_gem_client/configuration.rb,
lib/pulp_gem_client/models/repair.rb,
lib/pulp_gem_client/models/set_label.rb,
lib/pulp_gem_client/models/nested_role.rb,
lib/pulp_gem_client/models/policy_enum.rb,
lib/pulp_gem_client/models/unset_label.rb,
lib/pulp_gem_client/api/content_gem_api.rb,
lib/pulp_gem_client/api/remotes_gem_api.rb,
lib/pulp_gem_client/models/gem_gem_remote.rb,
lib/pulp_gem_client/models/gem_gem_content.rb,
lib/pulp_gem_client/api/publications_gem_api.rb,
lib/pulp_gem_client/api/repositories_gem_api.rb,
lib/pulp_gem_client/api/distributions_gem_api.rb,
lib/pulp_gem_client/models/gem_gem_repository.rb,
lib/pulp_gem_client/models/set_label_response.rb,
lib/pulp_gem_client/models/gem_gem_publication.rb,
lib/pulp_gem_client/models/repository_sync_url.rb,
lib/pulp_gem_client/models/gem_gem_distribution.rb,
lib/pulp_gem_client/models/nested_role_response.rb,
lib/pulp_gem_client/models/unset_label_response.rb,
lib/pulp_gem_client/models/object_roles_response.rb,
lib/pulp_gem_client/models/patchedgem_gem_remote.rb,
lib/pulp_gem_client/models/gem_gem_remote_response.rb,
lib/pulp_gem_client/models/my_permissions_response.rb,
lib/pulp_gem_client/models/async_operation_response.rb,
lib/pulp_gem_client/models/content_summary_response.rb,
lib/pulp_gem_client/models/gem_gem_content_response.rb,
lib/pulp_gem_client/models/patchedgem_gem_repository.rb,
lib/pulp_gem_client/api/repositories_gem_versions_api.rb,
lib/pulp_gem_client/models/gem_gem_repository_response.rb,
lib/pulp_gem_client/models/patchedgem_gem_distribution.rb,
lib/pulp_gem_client/models/repository_version_response.rb,
lib/pulp_gem_client/models/gem_gem_publication_response.rb,
lib/pulp_gem_client/models/gem_gem_distribution_response.rb,
lib/pulp_gem_client/models/repository_add_remove_content.rb,
lib/pulp_gem_client/models/gem_gem_remote_response_hidden_fields.rb,
lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb,
lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb,
lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb,
lib/pulp_gem_client/models/paginated_repository_version_response_list.rb,
lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb,
lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb

Overview

#Pulp 3 API

#Fetch, Upload, Organize, and Distribute Software Packages

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

Defined Under Namespace

Classes: ApiClient, ApiError, AsyncOperationResponse, Configuration, ContentGemApi, ContentSummaryResponse, DistributionsGemApi, GemGemContent, GemGemContentResponse, GemGemDistribution, GemGemDistributionResponse, GemGemPublication, GemGemPublicationResponse, GemGemRemote, GemGemRemoteResponse, GemGemRemoteResponseHiddenFields, GemGemRepository, GemGemRepositoryResponse, MyPermissionsResponse, NestedRole, NestedRoleResponse, ObjectRolesResponse, PaginatedRepositoryVersionResponseList, PaginatedgemGemContentResponseList, PaginatedgemGemDistributionResponseList, PaginatedgemGemPublicationResponseList, PaginatedgemGemRemoteResponseList, PaginatedgemGemRepositoryResponseList, PatchedgemGemDistribution, PatchedgemGemRemote, PatchedgemGemRepository, PolicyEnum, PublicationsGemApi, RemotesGemApi, Repair, RepositoriesGemApi, RepositoriesGemVersionsApi, RepositoryAddRemoveContent, RepositorySyncURL, RepositoryVersionResponse, SetLabel, SetLabelResponse, UnsetLabel, UnsetLabelResponse

Constant Summary collapse

VERSION =
'0.6.1'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



72
73
74
75
76
77
78
# File 'lib/pulp_gem_client.rb', line 72

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