README.md in pushpad-0.12.0 vs README.md in pushpad-0.13.0

- old
+ new

@@ -1,9 +1,9 @@ # Pushpad - Web Push Notifications -[![Build Status](https://travis-ci.org/pushpad/pushpad-ruby.svg?branch=master)](https://travis-ci.org/pushpad/pushpad-ruby) [![Gem Version](https://badge.fury.io/rb/pushpad.svg)](https://badge.fury.io/rb/pushpad) +![Build Status](https://github.com/pushpad/pushpad-ruby/workflows/CI/badge.svg) [Pushpad](https://pushpad.xyz) is a service for sending push notifications from your web app. It supports the **Push API** (Chrome, Firefox, Opera, Edge) and **APNs** (Safari). Features: @@ -57,10 +57,11 @@ notification = Pushpad::Notification.new({ body: "Hello world!", title: "Website Name", # optional, defaults to your project name target_url: "https://example.com", # optional, defaults to your project website icon_url: "https://example.com/assets/icon.png", # optional, defaults to the project icon + badge_url: "https://example.com/assets/badge.png" # optional, defaults to the project badge image_url: "https://example.com/assets/image.png", # optional, an image to display in the notification content ttl: 604800, # optional, drop the notification after this number of seconds if a device is offline require_interaction: true, # optional, prevent Chrome on desktop from automatically closing the notification after a few seconds silent: false, # optional, enable this option if you want a mute notification without any sound urgent: false, # optional, enable this option only for time-sensitive alerts (e.g. incoming phone call) @@ -143,9 +144,10 @@ notification.ttl # => 604800, notification.require_interaction # => false, notification.silent # => false, notification.urgent # => false, notification.icon_url # => "https://example.com/assets/icon.png", +notification.badge_url # => "https://example.com/assets/badge.png", # `created_at` is a `Time` instance notification.created_at.utc.to_s # => "2016-07-06 10:09:14 UTC", # get statistics