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