Module: DaDaPushClient

Defined in:
lib/dadapush_client/version.rb,
lib/dadapush_client.rb,
lib/dadapush_client/api_error.rb,
lib/dadapush_client/api_client.rb,
lib/dadapush_client/configuration.rb,
lib/dadapush_client/models/action.rb,
lib/dadapush_client/models/result.rb,
lib/dadapush_client/models/message_object.rb,
lib/dadapush_client/api/dadapush_message_api.rb,
lib/dadapush_client/models/message_push_request.rb,
lib/dadapush_client/models/message_push_response.rb,
lib/dadapush_client/models/result_of_message_object.rb,
lib/dadapush_client/models/page_response_of_message_object.rb,
lib/dadapush_client/models/result_of_message_push_response.rb,
lib/dadapush_client/models/result_of_page_response_of_message_object.rb

Overview

#DaDaPush Public API

#DaDaPush: Real-time Notifications App Send real-time notifications through our API without coding and maintaining your own app for iOS or Android devices.

The version of the OpenAPI document: v1 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 4.0.2

Defined Under Namespace

Classes: Action, ApiClient, ApiError, Configuration, DaDaPushMessageApi, MessageObject, MessagePushRequest, MessagePushResponse, PageResponseOfMessageObject, Result, ResultOfMessageObject, ResultOfMessagePushResponse, ResultOfPageResponseOfMessageObject

Constant Summary collapse

VERSION =
'1.0.1'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

DaDaPushClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



41
42
43
44
45
46
47
# File 'lib/dadapush_client.rb', line 41

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