Module: Metronome
- Defined in:
- lib/metronome/version.rb,
lib/metronome.rb,
lib/metronome/api_error.rb,
lib/metronome/api_client.rb,
lib/metronome/configuration.rb,
lib/metronome/api/telemetry_api.rb,
lib/metronome/models/permission.rb,
lib/metronome/models/access_type.rb,
lib/metronome/models/item_expiry.rb,
lib/metronome/models/policy_data.rb,
lib/metronome/api/data_expiry_api.rb,
lib/metronome/api/item_access_api.rb,
lib/metronome/models/api_key_data.rb,
lib/metronome/models/aging_strategy.rb,
lib/metronome/models/signup_request.rb,
lib/metronome/models/expiry_response.rb,
lib/metronome/models/signup_response.rb,
lib/metronome/models/sub_items_expiry.rb,
lib/metronome/models/aging_offset_unit.rb,
lib/metronome/models/telemetry_request.rb,
lib/metronome/api/access_management_api.rb,
lib/metronome/api/policy_management_api.rb,
lib/metronome/models/validation_problem.rb,
lib/metronome/models/put_api_key_request.rb,
lib/metronome/models/expire_item_response.rb,
lib/metronome/models/policy_list_response.rb,
lib/metronome/models/api_key_list_response.rb,
lib/metronome/models/telemetry_observation.rb,
lib/metronome/models/create_api_key_request.rb,
lib/metronome/models/item_metadata_response.rb,
lib/metronome/models/modify_api_key_request.rb,
lib/metronome/models/expire_sub_item_response.rb,
lib/metronome/models/policy_data_list_response.rb,
lib/metronome/models/api_key_data_list_response.rb,
lib/metronome/models/permission_denied_response.rb,
lib/metronome/models/sub_item_metadata_response.rb,
lib/metronome/models/item_or_sub_item_access_log.rb,
lib/metronome/models/expiry_response_pending_inner.rb,
lib/metronome/models/get_many_api_keys200_response.rb,
lib/metronome/models/get_many_policies200_response.rb,
lib/metronome/models/create_or_modify_policy_request.rb,
lib/metronome/models/validation_error_response_inner.rb,
lib/metronome/models/create_or_modify_policy_response.rb,
lib/metronome/models/item_or_sub_item_policy_response.rb,
lib/metronome/models/create_or_modify_api_key_response.rb
Overview
#Metronome API
#No description provided (generated by Openapi Generator github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 1.0.0 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 6.4.0
Defined Under Namespace
Modules: ExpiryResponsePendingInner, GetManyApiKeys200Response, GetManyPolicies200Response, PutApiKeyRequest Classes: AccessManagementApi, AccessType, AgingOffsetUnit, AgingStrategy, ApiClient, ApiError, ApiKeyData, ApiKeyDataListResponse, ApiKeyListResponse, Configuration, CreateApiKeyRequest, CreateOrModifyApiKeyResponse, CreateOrModifyPolicyRequest, CreateOrModifyPolicyResponse, DataExpiryApi, ExpireItemResponse, ExpireSubItemResponse, ExpiryResponse, ItemAccessApi, ItemExpiry, ItemMetadataResponse, ItemOrSubItemAccessLog, ItemOrSubItemPolicyResponse, ModifyApiKeyRequest, Permission, PermissionDeniedResponse, PolicyData, PolicyDataListResponse, PolicyListResponse, PolicyManagementApi, SignupRequest, SignupResponse, SubItemMetadataResponse, SubItemsExpiry, TelemetryApi, TelemetryObservation, TelemetryRequest, ValidationErrorResponseInner, ValidationProblem
Constant Summary collapse
- VERSION =
'0.1.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.
Metronome.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
71 72 73 74 75 76 77 78 |
# File 'lib/metronome.rb', line 71 def configure if block_given? yield(Configuration.default) Configuration.default.check_required_attributes # PDS patch else Configuration.default end end |