Module: KhipuChaski
- Defined in:
- lib/khipu-chaski-api-client.rb,
lib/khipu-chaski-api-client/version.rb,
lib/khipu-chaski-api-client/api_error.rb,
lib/khipu-chaski-api-client/api_client.rb,
lib/khipu-chaski-api-client/configuration.rb,
lib/khipu-chaski-api-client/models/device.rb,
lib/khipu-chaski-api-client/models/message.rb,
lib/khipu-chaski-api-client/models/base_object.rb,
lib/khipu-chaski-api-client/models/device_list.rb,
lib/khipu-chaski-api-client/models/msg_property.rb,
lib/khipu-chaski-api-client/models/service_error.rb,
lib/khipu-chaski-api-client/api/device_registry_api.rb,
lib/khipu-chaski-api-client/models/success_response.rb,
lib/khipu-chaski-api-client/api/push_notifications_api.rb,
lib/khipu-chaski-api-client/models/authorization_error.rb,
lib/khipu-chaski-api-client/api/device_registry_list_api.rb,
lib/khipu-chaski-api-client/api/recipient_registry_list_api.rb
Defined Under Namespace
Classes: ApiClient, ApiError, AuthorizationError, BaseObject, Configuration, Device, DeviceList, DeviceRegistryApi, DeviceRegistryListApi, Message, MsgProperty, PushNotificationsApi, RecipientRegistryListApi, ServiceError, SuccessResponse
Constant Summary collapse
- VERSION =
"1.1.2"
Class Method Summary collapse
-
.configure ⇒ Object
Configure sdk using block.
Class Method Details
.configure ⇒ Object
Configure sdk using block. KhipuChaski.configure do |config|
config.username = "xxx"
config.password = "xxx"
end If no block given, return the configuration singleton instance.
31 32 33 34 35 36 37 |
# File 'lib/khipu-chaski-api-client.rb', line 31 def configure if block_given? yield Configuration.instance else Configuration.instance end end |