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/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/outcomes_data.rb,
lib/onesignal/models/filter_expressions.rb,
lib/onesignal/models/inline_response200.rb,
lib/onesignal/models/inline_response201.rb,
lib/onesignal/models/inline_response400.rb,
lib/onesignal/models/notification_slice.rb,
lib/onesignal/models/inline_response2001.rb,
lib/onesignal/models/inline_response2002.rb,
lib/onesignal/models/inline_response2005.rb,
lib/onesignal/models/inline_response2007.rb,
lib/onesignal/models/inline_response2008.rb,
lib/onesignal/models/inline_response4001.rb,
lib/onesignal/models/inline_response4002.rb,
lib/onesignal/models/inline_response4003.rb,
lib/onesignal/models/notification_all_of.rb,
lib/onesignal/models/notification_target.rb,
lib/onesignal/models/notification200_errors.rb,
lib/onesignal/models/notification_with_meta.rb,
lib/onesignal/models/platform_delivery_data.rb,
lib/onesignal/models/invalid_identifier_error.rb,
lib/onesignal/models/filter_notification_target.rb,
lib/onesignal/models/player_notification_target.rb,
lib/onesignal/models/export_players_request_body.rb,
lib/onesignal/models/segment_notification_target.rb,
lib/onesignal/models/get_notification_request_body.rb,
lib/onesignal/models/notification_with_meta_all_of.rb,
lib/onesignal/models/update_player_tags_request_body.rb,
lib/onesignal/models/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.0.1 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT
Defined Under Namespace
Modules: Notification200Errors Classes: ApiClient, ApiError, App, Button, Configuration, DefaultApi, DeliveryData, ExportPlayersRequestBody, Filter, FilterExpressions, FilterNotificationTarget, GetNotificationRequestBody, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2005, InlineResponse2007, InlineResponse2008, InlineResponse201, InlineResponse400, InlineResponse4001, InlineResponse4002, InlineResponse4003, InvalidIdentifierError, Notification, NotificationAllOf, NotificationAllOfAndroidBackgroundLayout, NotificationSlice, NotificationTarget, NotificationWithMeta, NotificationWithMetaAllOf, Operator, OutcomeData, OutcomesData, PlatformDeliveryData, Player, PlayerNotificationTarget, PlayerSlice, Purchase, Segment, SegmentNotificationTarget, StringMap, UpdatePlayerTagsRequestBody
Constant Summary collapse
- VERSION =
'1.0.1'
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.
72 73 74 75 76 77 78 |
# File 'lib/onesignal.rb', line 72 def configure if block_given? yield(Configuration.default) else Configuration.default end end |