Module: RelationClient
- Defined in:
- lib/relation_client/version.rb,
lib/relation_client.rb,
lib/relation_client/api_error.rb,
lib/relation_client/api_client.rb,
lib/relation_client/configuration.rb,
lib/relation_client/models/record.rb,
lib/relation_client/models/customer.rb,
lib/relation_client/models/message_box.rb,
lib/relation_client/api/message_box_api.rb,
lib/relation_client/models/record_request.rb,
lib/relation_client/models/record_response.rb
Overview
#Re:lation API
The version of the OpenAPI document: 1.0.0
Generated by: openapi-generator.tech OpenAPI Generator version: 6.1.0
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, Customer, MessageBox, MessageBoxApi, Record, RecordRequest, RecordResponse
Constant Summary collapse
- VERSION =
'1.0.3'
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.
RelationClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
36 37 38 39 40 41 42 |
# File 'lib/relation_client.rb', line 36 def configure if block_given? yield(Configuration.default) else Configuration.default end end |