Module: OpenapiClient

Defined in:
lib/ff/ruby/server/generated/lib/openapi_client/version.rb,
lib/ff/ruby/server/generated/lib/openapi_client.rb,
lib/ff/ruby/server/generated/lib/openapi_client/api_error.rb,
lib/ff/ruby/server/generated/lib/openapi_client/api_client.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/tag.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/error.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/serve.rb,
lib/ff/ruby/server/generated/lib/openapi_client/api/proxy_api.rb,
lib/ff/ruby/server/generated/lib/openapi_client/configuration.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/clause.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/target.rb,
lib/ff/ruby/server/generated/lib/openapi_client/api/client_api.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/metrics.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/segment.rb,
lib/ff/ruby/server/generated/lib/openapi_client/api/metrics_api.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/key_value.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/variation.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/evaluation.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/pagination.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/target_map.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/target_data.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/distribution.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/metrics_data.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/prerequisite.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/proxy_config.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/serving_rule.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/feature_state.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/inline_object.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/variation_map.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/feature_config.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/group_serving_rule.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/weighted_variation.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/proxy_config_all_of.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_request.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_response.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/authentication_request_target.rb,
lib/ff/ruby/server/generated/lib/openapi_client/models/proxy_config_all_of_environments.rb

Overview

#Harness feature flag service client apis

#No description provided (generated by Openapi Generator github.com/openapitools/openapi-generator)

The version of the OpenAPI document: 1.0.0 Contact: cf@harness.io Generated by: openapi-generator.tech OpenAPI Generator version: 5.2.1

Defined Under Namespace

Classes: ApiClient, ApiError, AuthenticationRequest, AuthenticationRequestTarget, AuthenticationResponse, Clause, ClientApi, Configuration, Distribution, Error, Evaluation, FeatureConfig, FeatureState, GroupServingRule, InlineObject, KeyValue, Metrics, MetricsApi, MetricsData, Pagination, Prerequisite, ProxyApi, ProxyConfig, ProxyConfigAllOf, ProxyConfigAllOfEnvironments, Segment, Serve, ServingRule, Tag, Target, TargetData, TargetMap, Variation, VariationMap, WeightedVariation

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.



63
64
65
66
67
68
69
# File 'lib/ff/ruby/server/generated/lib/openapi_client.rb', line 63

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