lib/notifications/client/speaker.rb in notifications-ruby-client-6.0.0 vs lib/notifications/client/speaker.rb in notifications-ruby-client-6.2.0
- old
+ new
@@ -45,9 +45,11 @@
# Can be an empty string or nil, when you do not require a reference for the notifications.
# @option form_data [String] :email_reply_to_id
# id of the email address that replies to email notifications will be sent to
# @option form_data [String] :sms_sender_id
# id of the sender to be used for an sms notification
+ # @option form_data [String] :one_click_unsubscribe_url
+ # 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(
"#{BASE_PATH}/#{kind}",
headers