Skip to content

Commit

Permalink
cleanup for consistent formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adavidw committed Oct 11, 2017
1 parent c81f6b4 commit fc6fb06
Show file tree
Hide file tree
Showing 49 changed files with 181 additions and 218 deletions.
6 changes: 3 additions & 3 deletions CustomerProfiles/create-customer-payment-profile.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
7 changes: 3 additions & 4 deletions CustomerProfiles/create-customer-profile.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/create-customer-shipping-address.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/delete-customer-payment-profile.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/delete-customer-profile.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/delete-customer-shipping-address.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
7 changes: 3 additions & 4 deletions CustomerProfiles/get-accept-customer-profile-page.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/get-customer-payment-profile-list.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
7 changes: 3 additions & 4 deletions CustomerProfiles/get-customer-payment-profile.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/get-customer-profile-ids.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
7 changes: 3 additions & 4 deletions CustomerProfiles/get-customer-profile.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
9 changes: 4 additions & 5 deletions CustomerProfiles/get-customer-shipping-address.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/update-customer-payment-profile.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/update-customer-profile.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
6 changes: 3 additions & 3 deletions CustomerProfiles/update-customer-shipping-address.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
4 changes: 2 additions & 2 deletions CustomerProfiles/validate-customer-payment-profile.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
9 changes: 4 additions & 5 deletions FraudManagement/approve-or-decline-held-transaction.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down Expand Up @@ -51,7 +50,7 @@ def approve_or_decline_held_transaction(refTransId)
end

return response
end
end

if __FILE__ == $0
update_held_transaction("12345")
Expand Down
7 changes: 3 additions & 4 deletions FraudManagement/get-held-transaction-list.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
9 changes: 4 additions & 5 deletions MobileInAppTransactions/create-an-accept-transaction.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
9 changes: 4 additions & 5 deletions MobileInAppTransactions/create-an-android-pay-transaction.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
9 changes: 4 additions & 5 deletions MobileInAppTransactions/create-an-apple-pay-transaction.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down
9 changes: 4 additions & 5 deletions PayPalExpressCheckout/authorization-and-capture-continue.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down Expand Up @@ -63,7 +62,7 @@ def authorization_and_capture_continue()

return response

end
end

if __FILE__ == $0
authorization_and_capture_continue()
Expand Down
10 changes: 4 additions & 6 deletions PayPalExpressCheckout/authorization-and-capture.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down Expand Up @@ -65,9 +64,8 @@ def authorization_and_capture()

return response

end
end


if __FILE__ == $0
authorization_and_capture()
end
12 changes: 5 additions & 7 deletions PayPalExpressCheckout/authorization-only-continued.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down Expand Up @@ -64,9 +63,8 @@ def authorization_only_continued()

return response

end
end


if __FILE__ == $0
authorization_only_continued()
end
9 changes: 4 additions & 5 deletions PayPalExpressCheckout/authorization-only.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down Expand Up @@ -54,7 +53,7 @@ def authorization_only()

return response

end
end

if __FILE__ == $0
authorization_only()
Expand Down
11 changes: 5 additions & 6 deletions PayPalExpressCheckout/credit.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'rubygems'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down Expand Up @@ -61,7 +60,7 @@ def credit()
end

return response
end
end

if __FILE__ == $0
credit()
Expand Down
9 changes: 4 additions & 5 deletions PayPalExpressCheckout/get-details.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rubygems'
require 'yaml'
require 'authorizenet'

require 'securerandom'
require 'yaml'
require 'authorizenet'
require 'securerandom'

include AuthorizeNet::API

Expand Down Expand Up @@ -63,7 +62,7 @@ def get_details()

return response

end
end

if __FILE__ == $0
get_details()
Expand Down
Loading

0 comments on commit fc6fb06

Please sign in to comment.