Module: DyspatchClient
- Defined in:
- lib/dyspatch_client/version.rb,
lib/dyspatch_client.rb,
lib/dyspatch_client/api_error.rb,
lib/dyspatch_client/api_client.rb,
lib/dyspatch_client/configuration.rb,
lib/dyspatch_client/models/cursor.rb,
lib/dyspatch_client/models/api_error.rb,
lib/dyspatch_client/api/templates_api.rb,
lib/dyspatch_client/models/created_at.rb,
lib/dyspatch_client/models/updated_at.rb,
lib/dyspatch_client/models/language_id.rb,
lib/dyspatch_client/models/template_id.rb,
lib/dyspatch_client/models/template_url.rb,
lib/dyspatch_client/models/compiled_read.rb,
lib/dyspatch_client/models/template_name.rb,
lib/dyspatch_client/models/template_read.rb,
lib/dyspatch_client/api/localizations_api.rb,
lib/dyspatch_client/models/templates_read.rb,
lib/dyspatch_client/models/localization_id.rb,
lib/dyspatch_client/models/localization_url.rb,
lib/dyspatch_client/models/localization_name.rb,
lib/dyspatch_client/models/localization_read.rb,
lib/dyspatch_client/models/template_meta_read.rb,
lib/dyspatch_client/models/template_description.rb,
lib/dyspatch_client/models/localization_meta_read.rb
Overview
#Dyspatch API
## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](github.com/getdyspatch/dyspatch-java) - [Javascript](github.com/getdyspatch/dyspatch-javascript) - [Python](github.com/getdyspatch/dyspatch-python)
OpenAPI spec version: 2018.08 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.1
Defined Under Namespace
Classes: APIError, ApiClient, ApiError, CompiledRead, Configuration, CreatedAt, Cursor, LanguageId, LocalizationId, LocalizationMetaRead, LocalizationName, LocalizationRead, LocalizationUrl, LocalizationsApi, TemplateDescription, TemplateId, TemplateMetaRead, TemplateName, TemplateRead, TemplateUrl, TemplatesApi, TemplatesRead, UpdatedAt
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.
DyspatchClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
51 52 53 54 55 56 57 |
# File 'lib/dyspatch_client.rb', line 51 def configure if block_given? yield(Configuration.default) else Configuration.default end end |