Module: OpenApiIplocationClient

Defined in:
lib/openapi_iplocation/version.rb,
lib/openapi_iplocation.rb,
lib/openapi_iplocation/api_error.rb,
lib/openapi_iplocation/api_client.rb,
lib/openapi_iplocation/configuration.rb,
lib/openapi_iplocation/api/default_api.rb,
lib/openapi_iplocation/models/get200_response.rb,
lib/openapi_iplocation/models/get400_response.rb

Overview

#iplocation.net API

#OpenAPI v3 specification and a set of generated API clients for iplocation.net

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

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, DefaultApi, Get200Response, Get400Response

Constant Summary collapse

VERSION =
'1.1.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



34
35
36
37
38
39
40
# File 'lib/openapi_iplocation.rb', line 34

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