Skip to content

Commit

Permalink
Priority: Update verify method signature
Browse files Browse the repository at this point in the history
Adds the unusued `options` argument to the `verify` method so that the
method accepts two arguments, according to ActiveMerchant standards.

Rubocop:
739 files inspected, no offenses detected

Unit:
5159 tests, 75564 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Remote:
Loaded suite test/remote/gateways/remote_priority_test
27 tests, 81 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
  • Loading branch information
dsmcclain committed Apr 12, 2022
1 parent 2f3db70 commit 15379d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_merchant/billing/gateways/priority.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def void(authorization, options = {})
commit('void', params: params, iid: payment_id(authorization))
end

def verify(credit_card)
def verify(credit_card, _options = {})
jwt = create_jwt.params['jwtToken']

commit('verify', card_number: credit_card.number, jwt: jwt)
Expand Down

0 comments on commit 15379d2

Please sign in to comment.