Module: ReedSdk

Defined in:
lib/reed_sdk/version.rb,
lib/reed_sdk.rb,
lib/reed_sdk/api_error.rb,
lib/reed_sdk/api_client.rb,
lib/reed_sdk/models/movie.rb,
lib/reed_sdk/models/paged.rb,
lib/reed_sdk/models/quote.rb,
lib/reed_sdk/configuration.rb,
lib/reed_sdk/models/movies.rb,
lib/reed_sdk/models/quotes.rb,
lib/reed_sdk/api/the_one_api_api.rb,
lib/reed_sdk/models/movie_all_of.rb,
lib/reed_sdk/models/quote_all_of.rb,
lib/reed_sdk/models/movies_all_of.rb,
lib/reed_sdk/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.1'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

ReedSdk.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/reed_sdk.rb', line 41

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