From b7ceabcaf7e6ff30a4d8f4d635059ec5cdd0471a Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Thu, 9 May 2024 17:09:40 +0100 Subject: [PATCH] Version change --- CHANGELOG.md | 5 +++++ lib/notifications/client/speaker.rb | 2 +- lib/notifications/client/version.rb | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d960459..f8790c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 6.1.0 + +* Adds a `unsubscribe_link` parameter to `send_email` so services can allow users to easily unsubscribe from distribution lists. +* Adds a `unsubscribe_link` attribute to `Notification` class, so responses for get_notification include the unsubscribe link. + ## 6.0.0 * Removes the `is_csv` parameter from `prepare_upload` diff --git a/lib/notifications/client/speaker.rb b/lib/notifications/client/speaker.rb index 9e6472c..af61317 100644 --- a/lib/notifications/client/speaker.rb +++ b/lib/notifications/client/speaker.rb @@ -48,7 +48,7 @@ def initialize(secret_token = nil, base_url = nil) # @option form_data [String] :sms_sender_id # id of the sender to be used for an sms notification # @option form_data [String] :unsubscribe_link - # link that user can click to unsubscribe from the distribution list. We will pass this link in the email headers. + # link that end user can click to unsubscribe from the distribution list. We will pass this link in the email headers. # @see #perform_request! def post(kind, form_data) request = Net::HTTP::Post.new( diff --git a/lib/notifications/client/version.rb b/lib/notifications/client/version.rb index ec34e3a..c864a52 100644 --- a/lib/notifications/client/version.rb +++ b/lib/notifications/client/version.rb @@ -9,6 +9,6 @@ module Notifications class Client - VERSION = "6.0.0".freeze + VERSION = "6.1.0".freeze end end