Module: ApiGeoClient

Defined in:
lib/api_geo_client/version.rb,
lib/api_geo_client.rb,
lib/api_geo_client/api_error.rb,
lib/api_geo_client/api_client.rb,
lib/api_geo_client/models/error.rb,
lib/api_geo_client/configuration.rb,
lib/api_geo_client/models/region.rb,
lib/api_geo_client/api/rgions_api.rb,
lib/api_geo_client/models/commune.rb,
lib/api_geo_client/api/communes_api.rb,
lib/api_geo_client/models/departement.rb,
lib/api_geo_client/api/dpartements_api.rb

Overview

#API Référentiels géographiques

#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)

OpenAPI spec version: 1.0.0-beta

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.5

Defined Under Namespace

Classes: ApiClient, ApiError, Commune, CommunesApi, Configuration, Departement, DpartementsApi, Error, Region, RgionsApi

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



38
39
40
41
42
43
44
# File 'lib/api_geo_client.rb', line 38

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