Module: PostlightMCTest
- Defined in:
- lib/PostlightMCTest/version.rb,
lib/PostlightMCTest.rb,
lib/PostlightMCTest/api_error.rb,
lib/PostlightMCTest/api_client.rb,
lib/PostlightMCTest/configuration.rb,
lib/PostlightMCTest/api/default_api.rb,
lib/PostlightMCTest/models/api_health_status.rb,
lib/PostlightMCTest/models/problem_detail_document.rb
Overview
#Mailchimp Marketing API
#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 0.0.9 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.12
Defined Under Namespace
Classes: APIHealthStatus, ApiClient, ApiError, Configuration, DefaultApi, ProblemDetailDocument
Constant Summary collapse
- VERSION =
'1.2.7'
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.
PostlightMCTest.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
34 35 36 37 38 39 40 |
# File 'lib/PostlightMCTest.rb', line 34 def configure if block_given? yield(Configuration.default) else Configuration.default end end |