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/models/menu.rb,
lib/swagger_client/api/menu_api.rb,
lib/swagger_client/models/event.rb,
lib/swagger_client/configuration.rb,
lib/swagger_client/models/client.rb,
lib/swagger_client/models/message.rb,
lib/swagger_client/models/app_user.rb,
lib/swagger_client/models/postback.rb,
lib/swagger_client/api/app_user_api.rb,
lib/swagger_client/models/menu_item.rb,
lib/swagger_client/models/client_info.rb,
lib/swagger_client/models/conversation.rb,
lib/swagger_client/api/conversation_api.rb,
lib/swagger_client/models/app_user_link.rb,
lib/swagger_client/models/device_update.rb,
lib/swagger_client/models/menu_response.rb,
lib/swagger_client/models/app_user_update.rb,
lib/swagger_client/models/client_response.rb,
lib/swagger_client/models/message_response.rb,
lib/swagger_client/models/app_user_response.rb,
lib/swagger_client/models/app_user_pre_create.rb,
lib/swagger_client/models/track_event_response.rb,
lib/swagger_client/models/get_messages_response.rb,
lib/swagger_client/models/typing_activity_trigger.rb

Overview

#Smooch

#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

Defined Under Namespace

Classes: ApiClient, ApiError, AppUser, AppUserApi, AppUserLink, AppUserPreCreate, AppUserResponse, AppUserUpdate, Client, ClientInfo, ClientResponse, Configuration, Conversation, ConversationApi, DeviceUpdate, Event, GetMessagesResponse, Menu, MenuApi, MenuItem, MenuResponse, Message, MessageResponse, Postback, TrackEventResponse, TypingActivityTrigger

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.configureObject

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.



53
54
55
56
57
58
59
# File 'lib/swagger_client.rb', line 53

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end