Module: AdminApi
- Defined in:
- lib/admin_api/version.rb,
lib/admin_api.rb,
lib/admin_api/api_error.rb,
lib/admin_api/api_client.rb,
lib/admin_api/models/card.rb,
lib/admin_api/models/sort.rb,
lib/admin_api/api/card_api.rb,
lib/admin_api/configuration.rb,
lib/admin_api/models/client.rb,
lib/admin_api/api/client_api.rb,
lib/admin_api/models/app_token.rb,
lib/admin_api/models/page_card.rb,
lib/admin_api/api/app_token_api.rb,
lib/admin_api/models/employment.rb,
lib/admin_api/auth_configuration.rb,
lib/admin_api/models/page_client.rb,
lib/admin_api/models/card_address.rb,
lib/admin_api/models/client_address.rb,
lib/admin_api/api/auto_generate_app_token_api.rb
Overview
#Hydrogen Admin API
#The Hydrogen Admin API
OpenAPI spec version: 1.0.2 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.15
Defined Under Namespace
Classes: ApiClient, ApiError, AppToken, AppTokenApi, AuthConfiguration, AutoGenerateAppTokenApi, Card, CardAddress, CardApi, Client, ClientAddress, ClientApi, Configuration, Employment, PageCard, PageClient, Sort
Constant Summary collapse
- VERSION =
'1.0.2'
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.
AdminApi.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/admin_api.rb', line 34 def configure if block_given? yield(AuthConfiguration.default) else AuthConfiguration.default end end |