lib/active_merchant/billing/gateways/moneris_us.rb in activemerchant-1.100.0 vs lib/active_merchant/billing/gateways/moneris_us.rb in activemerchant-1.101.0

- old
+ new

@@ -228,12 +228,10 @@ ) end # Generates a Moneris authorization string of the form 'trans_id;receipt_id'. def authorization_from(response = {}) - if response[:trans_id] && response[:receipt_id] - "#{response[:trans_id]};#{response[:receipt_id]}" - end + "#{response[:trans_id]};#{response[:receipt_id]}" if response[:trans_id] && response[:receipt_id] end # Tests for a successful response from Moneris' servers def successful?(response) response[:response_code] &&