lib/notifications/client/speaker.rb in notifications-ruby-client-2.2.0 vs lib/notifications/client/speaker.rb in notifications-ruby-client-2.3.0

- old
+ new

@@ -1,9 +1,9 @@ require "net/https" require "uri" require "jwt" -require "notifications/client/request_error" +require_relative "request_error" module Notifications class Client class Speaker attr_reader :base_url @@ -36,9 +36,11 @@ # fields to use in the template # @option form_data [String] :reference # A reference specified by the service for the notification. Get all notifications can be filtered by this reference. # This reference can be unique or used used to refer to a batch of notifications. # 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 # @see #perform_request! def post(kind, form_data) request = Net::HTTP::Post.new( "#{BASE_PATH}/#{kind}", headers