Module: ValidatorClient
- Defined in:
- lib/md-validator-client/version.rb,
lib/md-validator-client.rb,
lib/md-validator-client/api_error.rb,
lib/md-validator-client/api_client.rb,
lib/md-validator-client/configuration.rb,
lib/md-validator-client/models/status.rb,
lib/md-validator-client/models/validator.rb,
lib/md-validator-client/api/validation_api.rb,
lib/md-validator-client/models/inline_response_404.rb
Overview
#Metadata Validation API
#API for the metadata validation service.
OpenAPI spec version: 1.0.0 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.19
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, InlineResponse404, Status, ValidationApi, Validator
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.
ValidatorClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
35 36 37 38 39 40 41 |
# File 'lib/md-validator-client.rb', line 35 def configure if block_given? yield(Configuration.default) else Configuration.default end end |