From 53477bcc0f19140dd9f72fc4a81c92a4c4906c65 Mon Sep 17 00:00:00 2001 From: OneSignal Date: Mon, 27 Apr 2026 22:00:42 +0000 Subject: [PATCH] feat: add v5.4.0 package updates --- .github/workflows/release.yml | 5 ----- docs/DefaultApi.md | 6 +++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bc7168..ae70467 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,11 +57,6 @@ jobs: ruby-version: '3.2' bundler-cache: true - - name: Build gem - run: | - gem build onesignal.gemspec - ls -la *.gem - - name: Publish to RubyGems uses: rubygems/release-gem@v1 env: diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 109d64e..5342f69 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -573,7 +573,11 @@ OneSignal.configure do |config| end api_instance = OneSignal::DefaultApi.new -notification = OneSignal::Notification.new({app_id: 'app_id_example'}) # Notification | +notification = OneSignal::Notification.new +notification.app_id = 'YOUR_APP_ID' +notification.contents = OneSignal::LanguageStringMap.new({ en: 'Hello from OneSignal!' }) +notification.include_aliases = { 'external_id' => ['YOUR_USER_EXTERNAL_ID'] } +notification.target_channel = 'push' begin # Create notification