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

- old
+ new

@@ -22,11 +22,11 @@ @secret_token = secret_token[secret_token.length - 36..secret_token.length] @base_url = base_url || PRODUCTION_BASE_URL end ## - # @param kind [String] 'email' or 'sms' + # @param kind [String] 'email', 'sms' or 'letter' # @param form_data [Hash] # @option form_data [String] :phone_number # phone number of the sms recipient # @option form_data [String] :email_address # email address of the email recipent @@ -87,10 +87,10 @@ ) request.body = form_data.is_a?(Hash) ? form_data.to_json : form_data perform_request!(request) end - private + private ## # @return [Hash] JSON parsed response # @raise [RequestError] if request is # not successful