Code Duplication    Length = 4-4 lines in 2 locations

lib/authorize_net/cim/transaction.rb 2 locations

@@ 541-544 (lines=4) @@
538
    #   if response.success?
539
    #     puts response.direct_response if direct_response.success?
540
    #
541
    def create_transaction_refund(transaction_id, amount, profile_id, payment_profile_id, order = nil, options = {})
542
      handle_transaction_id(transaction_id)
543
      create_transaction(:refund, amount, profile_id, payment_profile_id, order, options)
544
    end
545
    
546
    # Sets up and submits a updateSplitTenderGroupRequest transaction. Use this to end or void a split
547
    # tender batch. If this transaction has already been run, this method will return nil. Otherwise 
@@ 493-496 (lines=4) @@
490
    #   if response.success?
491
    #     puts response.direct_response if direct_response.success?
492
    #
493
    def create_transaction_prior_auth_capture(transaction_id, amount, order = nil, options = {})
494
      handle_transaction_id(transaction_id)
495
      create_transaction(:prior_auth_capture, amount, nil, nil, order, options)
496
    end
497
    
498
    # Sets up and submits a VOID transaction using stored payment information. If this
499
    # transaction has already been run, this method will return nil. Otherwise it will return an