Module: LocationApi
- Defined in:
- lib/pnap_location_api/api_error.rb,
lib/pnap_location_api.rb,
lib/pnap_location_api/version.rb,
lib/pnap_location_api/api_client.rb,
lib/pnap_location_api/models/error.rb,
lib/pnap_location_api/configuration.rb,
lib/pnap_location_api/models/location.rb,
lib/pnap_location_api/api/locations_api.rb,
lib/pnap_location_api/models/location_enum.rb,
lib/pnap_location_api/models/product_category.rb,
lib/pnap_location_api/models/product_category_enum.rb
Overview
#Locations API
#No description provided (generated by Openapi Generator github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 1.0 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 7.2.0
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, Error, Location, LocationEnum, LocationsApi, ProductCategory, ProductCategoryEnum
Constant Summary collapse
- VERSION =
get_version()
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
LocationApi.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
37 38 39 40 41 42 43 |
# File 'lib/pnap_location_api.rb', line 37 def configure if block_given? yield(Configuration.default) else Configuration.default end end |