Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ A powerful way to send personalized messages at scale and build effective custom

This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 5.2.0
- Package version: 5.2.0-beta1
- API version: 5.2.1
- Package version: 5.2.1-beta1
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
For more information, please visit [https://onesignal.com](https://onesignal.com)

Expand All @@ -24,16 +24,16 @@ gem build onesignal.gemspec
Then either install the gem locally:

```shell
gem install ./onesignal-5.2.0-beta1.gem
gem install ./onesignal-5.2.1-beta1.gem
```

(for development, run `gem install --dev ./onesignal-5.2.0-beta1.gem` to install the development dependencies)
(for development, run `gem install --dev ./onesignal-5.2.1-beta1.gem` to install the development dependencies)

or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).

Finally add this to the Gemfile:

gem 'onesignal', '~> 5.2.0-beta1'
gem 'onesignal', '~> 5.2.1-beta1'

### Install from Git

Expand Down
4 changes: 3 additions & 1 deletion docs/NotificationWithMeta.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
| **send_after** | **Integer** | Unix timestamp indicating when notification delivery should begin. | [optional] |
| **completed_at** | **Integer** | Unix timestamp indicating when notification delivery completed. The delivery duration from start to finish can be calculated with completed_at - send_after. | [optional] |
| **platform_delivery_stats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional] |
| **canceled** | **Boolean** | Indicates whether the notification was canceled before it could be sent. | [optional] |

## Example

Expand Down Expand Up @@ -248,7 +249,8 @@ instance = OneSignal::NotificationWithMeta.new(
queued_at: null,
send_after: null,
completed_at: null,
platform_delivery_stats: null
platform_delivery_stats: null,
canceled: null
)
```

4 changes: 3 additions & 1 deletion docs/NotificationWithMetaAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
| **platform_delivery_stats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional] |
| **received** | **Integer** | Confirmed Deliveries number of devices that received the push notification. Paid Feature Only. Free accounts will see 0. | [optional] |
| **throttle_rate_per_minute** | **Integer** | number of push notifications sent per minute. Paid Feature Only. If throttling is not enabled for the app or the notification, and for free accounts, null is returned. Refer to Throttling for more details. | [optional] |
| **canceled** | **Boolean** | Indicates whether the notification was canceled before it could be sent. | [optional] |

## Example

Expand All @@ -32,7 +33,8 @@ instance = OneSignal::NotificationWithMetaAllOf.new(
completed_at: null,
platform_delivery_stats: null,
received: null,
throttle_rate_per_minute: null
throttle_rate_per_minute: null,
canceled: null
)
```

2 changes: 1 addition & 1 deletion lib/onesignal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/api/default_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
4 changes: 2 additions & 2 deletions lib/onesignal/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down Expand Up @@ -90,7 +90,7 @@ def build_request(http_method, path, opts = {})
url = build_request_url(path, opts)
http_method = http_method.to_sym.downcase

opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.2.0-beta1'
opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.2.1-beta1'
header_params = @default_headers.merge(opts[:header_params] || {})
query_params = opts[:query_params] || {}
form_params = opts[:form_params] || {}
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/api_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/basic_notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/basic_notification_all_of.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/button.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/create_segment_conflict_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/create_segment_success_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/create_user_conflict_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/delivery_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/export_events_success_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/export_subscriptions_request_body.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/filter_expression.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/generic_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/generic_success_bool_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/get_segments_success_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/language_string_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/notification_all_of.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/notification_slice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion lib/onesignal/models/notification_target.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#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: 5.2.0
The version of the OpenAPI document: 5.2.1
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0-SNAPSHOT
Expand Down
Loading