Module: SwaggerClient
- Defined in:
- lib/swagger_client/version.rb,
lib/swagger_client.rb,
lib/swagger_client/api_error.rb,
lib/swagger_client/api_client.rb,
lib/swagger_client/api/auth_api.rb,
lib/swagger_client/models/login.rb,
lib/swagger_client/models/query.rb,
lib/swagger_client/api/utils_api.rb,
lib/swagger_client/configuration.rb,
lib/swagger_client/models/message.rb,
lib/swagger_client/api/messages_api.rb,
lib/swagger_client/models/error_model.rb,
lib/swagger_client/models/batch_message.rb,
lib/swagger_client/models/token_response.rb,
lib/swagger_client/api/batch_messages_api.rb,
lib/swagger_client/models/api_key_response.rb,
lib/swagger_client/models/message_response.rb,
lib/swagger_client/models/messages_response.rb,
lib/swagger_client/models/extended_error_model.rb,
lib/swagger_client/models/hello_world_response.rb,
lib/swagger_client/models/send_message_response.rb,
lib/swagger_client/models/batch_message_response.rb,
lib/swagger_client/models/scheduled_batch_response.rb,
lib/swagger_client/models/cancelled_message_response.rb,
lib/swagger_client/models/messages_response_messages.rb,
lib/swagger_client/models/scheduled_message_response.rb
Overview
#The SMS Works API
#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.0.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3
Defined Under Namespace
Classes: ApiClient, ApiError, ApiKeyResponse, AuthApi, BatchMessage, BatchMessageResponse, BatchMessagesApi, CancelledMessageResponse, Configuration, ErrorModel, ExtendedErrorModel, HelloWorldResponse, Login, Message, MessageResponse, MessagesApi, MessagesResponse, MessagesResponseMessages, Query, ScheduledBatchResponse, ScheduledMessageResponse, SendMessageResponse, TokenResponse, UtilsApi
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.
SwaggerClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
52 53 54 55 56 57 58 |
# File 'lib/swagger_client.rb', line 52 def configure if block_given? yield(Configuration.default) else Configuration.default end end |