Module: OneSignal
- Defined in:
- lib/onesignal/version.rb,
lib/onesignal.rb,
lib/onesignal/api_error.rb,
lib/onesignal/api_client.rb,
lib/onesignal/models/app.rb,
lib/onesignal/models/user.rb,
lib/onesignal/configuration.rb,
lib/onesignal/models/button.rb,
lib/onesignal/models/filter.rb,
lib/onesignal/models/player.rb,
lib/onesignal/models/segment.rb,
lib/onesignal/api/default_api.rb,
lib/onesignal/models/operator.rb,
lib/onesignal/models/purchase.rb,
lib/onesignal/models/string_map.rb,
lib/onesignal/models/notification.rb,
lib/onesignal/models/outcome_data.rb,
lib/onesignal/models/player_slice.rb,
lib/onesignal/models/delivery_data.rb,
lib/onesignal/models/generic_error.rb,
lib/onesignal/models/outcomes_data.rb,
lib/onesignal/models/properties_deltas.rb,
lib/onesignal/models/properties_object.rb,
lib/onesignal/models/basic_notification.rb,
lib/onesignal/models/filter_expressions.rb,
lib/onesignal/models/inline_response200.rb,
lib/onesignal/models/inline_response201.rb,
lib/onesignal/models/inline_response202.rb,
lib/onesignal/models/notification_slice.rb,
lib/onesignal/models/rate_limiter_error.rb,
lib/onesignal/models/inline_response2003.rb,
lib/onesignal/models/notification_all_of.rb,
lib/onesignal/models/notification_target.rb,
lib/onesignal/models/subscription_object.rb,
lib/onesignal/models/update_user_request.rb,
lib/onesignal/models/notification200_errors.rb,
lib/onesignal/models/notification_with_meta.rb,
lib/onesignal/models/platform_delivery_data.rb,
lib/onesignal/models/user_identity_response.rb,
lib/onesignal/models/invalid_identifier_error.rb,
lib/onesignal/models/basic_notification_all_of.rb,
lib/onesignal/models/user_subscription_options.rb,
lib/onesignal/models/generic_error_errors_inner.rb,
lib/onesignal/models/player_notification_target.rb,
lib/onesignal/models/user_identity_request_body.rb,
lib/onesignal/models/begin_live_activity_request.rb,
lib/onesignal/models/export_players_request_body.rb,
lib/onesignal/models/segment_notification_target.rb,
lib/onesignal/models/update_live_activity_request.rb,
lib/onesignal/models/create_user_conflict_response.rb,
lib/onesignal/models/get_notification_request_body.rb,
lib/onesignal/models/notification_with_meta_all_of.rb,
lib/onesignal/models/create_player_success_response.rb,
lib/onesignal/models/delete_player_success_response.rb,
lib/onesignal/models/export_events_success_response.rb,
lib/onesignal/models/update_player_success_response.rb,
lib/onesignal/models/create_segment_success_response.rb,
lib/onesignal/models/delete_segment_success_response.rb,
lib/onesignal/models/export_players_success_response.rb,
lib/onesignal/models/update_player_tags_request_body.rb,
lib/onesignal/models/create_segment_conflict_response.rb,
lib/onesignal/models/create_subscription_request_body.rb,
lib/onesignal/models/delete_player_not_found_response.rb,
lib/onesignal/models/update_subscription_request_body.rb,
lib/onesignal/models/delete_segment_not_found_response.rb,
lib/onesignal/models/platform_delivery_data_sms_all_of.rb,
lib/onesignal/models/transfer_subscription_request_body.rb,
lib/onesignal/models/platform_delivery_data_email_all_of.rb,
lib/onesignal/models/update_player_tags_success_response.rb,
lib/onesignal/models/cancel_notification_success_response.rb,
lib/onesignal/models/create_notification_success_response.rb,
lib/onesignal/models/notification_history_success_response.rb,
lib/onesignal/models/update_live_activity_success_response.rb,
lib/onesignal/models/create_user_conflict_response_errors_inner.rb,
lib/onesignal/models/player_notification_target_include_aliases.rb,
lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb,
lib/onesignal/models/basic_notification_all_of_android_background_layout.rb
Overview
#OneSignal
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
The version of the OpenAPI document: 1.2.2 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT
Defined Under Namespace
Modules: Notification200Errors Classes: ApiClient, ApiError, App, BasicNotification, BasicNotificationAllOf, BasicNotificationAllOfAndroidBackgroundLayout, BeginLiveActivityRequest, Button, CancelNotificationSuccessResponse, Configuration, CreateNotificationSuccessResponse, CreatePlayerSuccessResponse, CreateSegmentConflictResponse, CreateSegmentSuccessResponse, CreateSubscriptionRequestBody, CreateUserConflictResponse, CreateUserConflictResponseErrorsInner, CreateUserConflictResponseErrorsItemsMeta, DefaultApi, DeletePlayerNotFoundResponse, DeletePlayerSuccessResponse, DeleteSegmentNotFoundResponse, DeleteSegmentSuccessResponse, DeliveryData, ExportEventsSuccessResponse, ExportPlayersRequestBody, ExportPlayersSuccessResponse, Filter, FilterExpressions, GenericError, GenericErrorErrorsInner, GetNotificationRequestBody, InlineResponse200, InlineResponse2003, InlineResponse201, InlineResponse202, InvalidIdentifierError, Notification, NotificationAllOf, NotificationHistorySuccessResponse, NotificationSlice, NotificationTarget, NotificationWithMeta, NotificationWithMetaAllOf, Operator, OutcomeData, OutcomesData, PlatformDeliveryData, PlatformDeliveryDataEmailAllOf, PlatformDeliveryDataSmsAllOf, Player, PlayerNotificationTarget, PlayerNotificationTargetIncludeAliases, PlayerSlice, PropertiesDeltas, PropertiesObject, Purchase, RateLimiterError, Segment, SegmentNotificationTarget, StringMap, SubscriptionObject, TransferSubscriptionRequestBody, UpdateLiveActivityRequest, UpdateLiveActivitySuccessResponse, UpdatePlayerSuccessResponse, UpdatePlayerTagsRequestBody, UpdatePlayerTagsSuccessResponse, UpdateSubscriptionRequestBody, UpdateUserRequest, User, UserIdentityRequestBody, UserIdentityResponse, UserSubscriptionOptions
Constant Summary collapse
- VERSION =
'2.0.2'
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.
OneSignal.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
103 104 105 106 107 108 109 |
# File 'lib/onesignal.rb', line 103 def configure if block_given? yield(Configuration.default) else Configuration.default end end |