Module: OpenapiClient

Defined in:
lib/openapi_client/version.rb,
lib/openapi_client.rb,
lib/openapi_client/api_error.rb,
lib/openapi_client/api_client.rb,
lib/openapi_client/models/movie.rb,
lib/openapi_client/models/paged.rb,
lib/openapi_client/models/quote.rb,
lib/openapi_client/configuration.rb,
lib/openapi_client/models/movies.rb,
lib/openapi_client/models/quotes.rb,
lib/openapi_client/api/the_one_api_api.rb,
lib/openapi_client/models/movie_all_of.rb,
lib/openapi_client/models/quote_all_of.rb,
lib/openapi_client/models/movies_all_of.rb,
lib/openapi_client/models/quotes_all_of.rb

Overview

#The One Api Client

#This is a sample client for the the-one-api service. This client implements endpoints related to movie and quotes.

The version of the OpenAPI document: 1.0.0

Generated by: openapi-generator.tech OpenAPI Generator version: 6.6.0

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, Movie, MovieAllOf, Movies, MoviesAllOf, Paged, Quote, QuoteAllOf, Quotes, QuotesAllOf, TheOneApiApi

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.



41
42
43
44
45
46
47
# File 'lib/openapi_client.rb', line 41

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