lib/payture/cheques/methods/create.rb in payture-cheques-0.1.3 vs lib/payture/cheques/methods/create.rb in payture-cheques-0.1.4

- old
+ new

@@ -9,13 +9,15 @@ "#{config.base_url}/Create" end def params(cheque_id:, inn:, content:, group: nil) message = content.delete("Message") || content.delete(:Message) + additional_messages = content.delete("AdditionalMessages") || content.delete(:AdditionalMessages) params = { Key: config.merchant_id, Password: config.password, Message: message, + AdditionalMessages: additional_messages || [], Cheque: { Id: cheque_id, INN: inn, Content: content, },