You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
958 B

2 years ago
  1. =begin
  2. #Seaweedfs Master Server API
  3. #The Seaweedfs Master Server API allows you to store blobs
  4. The version of the OpenAPI document: 3.43.0
  5. Generated by: https://openapi-generator.tech
  6. OpenAPI Generator version: 6.4.0
  7. =end
  8. # Common files
  9. require 'openapi_client/api_client'
  10. require 'openapi_client/api_error'
  11. require 'openapi_client/version'
  12. require 'openapi_client/configuration'
  13. # Models
  14. require 'openapi_client/models/file_key'
  15. require 'openapi_client/models/location'
  16. # APIs
  17. require 'openapi_client/api/default_api'
  18. module OpenapiClient
  19. class << self
  20. # Customize default settings for the SDK using block.
  21. # OpenapiClient.configure do |config|
  22. # config.username = "xxx"
  23. # config.password = "xxx"
  24. # end
  25. # If no block given, return the default Configuration object.
  26. def configure
  27. if block_given?
  28. yield(Configuration.default)
  29. else
  30. Configuration.default
  31. end
  32. end
  33. end
  34. end