Module: DevDraft
- Defined in:
- lib/devdraft/version.rb,
lib/devdraft.rb
Overview
#Devdraft Payment & Business Management API
# A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods.
OpenAPI spec version: 1.0.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.65
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.
DevDraft.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
93 94 95 96 97 98 99 |
# File 'lib/devdraft.rb', line 93 def configure if block_given? yield(Configuration.default) else Configuration.default end end |