lib/maxipago/xml_builder/builder_transaction.rb in maxipago-0.1.28 vs lib/maxipago/xml_builder/builder_transaction.rb in maxipago-0.1.29

- old
+ new

@@ -393,11 +393,11 @@ xml.action "new" xml.startDate self.options[:start_date] xml.frequency self.options[:frequency] xml.period self.options[:period] xml.installments self.options[:installments] - xml.firstAmount self.options[:first_amount] - xml.lastAmount self.options[:last_amount] + xml.firstAmount self.options[:first_amount] unless self.options[:first_amount].nil? + xml.lastAmount self.options[:last_amount] unless self.options[:last_amount].nil? xml.lastDate self.options[:last_date] xml.failureThreshold self.options[:failure_threshold] } } } \ No newline at end of file