Module: SwaggerClient
- Defined in:
- lib/swagger_client/version.rb,
lib/swagger_client.rb,
lib/swagger_client/api_error.rb,
lib/swagger_client/api_client.rb,
lib/swagger_client/configuration.rb,
lib/swagger_client/api/default_api.rb
Overview
#Apache Sling Resource API
#API for interacting with a Sling system.
OpenAPI spec version: 1.0.0 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, DefaultApi
Constant Summary collapse
- VERSION =
"1.0.0"
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.
SwaggerClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
43 44 45 46 47 48 49 |
# File 'lib/swagger_client.rb', line 43 def configure if block_given? yield(Configuration.default) else Configuration.default end end |