lib/rpush/client/redis/notification.rb in rpush-4.1.1 vs lib/rpush/client/redis/notification.rb in rpush-4.2.0

- old
+ new

@@ -18,11 +18,11 @@ "#{absolute_namespace}:retryable" end attribute :badge, :integer attribute :device_token, :string - attribute :sound, :string, default: 'default' + attribute :sound, [:string, :hash], strict: false, default: 'default' attribute :alert, [:string, :hash], strict: false attribute :data, :hash attribute :expiry, :integer, default: 1.day.to_i attribute :delivered, :boolean attribute :delivered_at, :timestamp @@ -32,9 +32,10 @@ attribute :retries, :integer, default: 0 attribute :error_code, :integer attribute :error_description, :string attribute :deliver_after, :timestamp attribute :alert_is_json, :boolean + attribute :sound_is_json, :boolean attribute :app_id, :integer attribute :collapse_key, :string attribute :delay_while_idle, :boolean attribute :registration_ids, :array attribute :uri, :string