Skip to content

Commit

Permalink
Adds optional usage introduced with stripe ruby v10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianoarruda committed Jan 10, 2024
1 parent d3a6d39 commit 1c616c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stripe_mock/api/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def self.stop_client(opts={})

private

def self.redirect_to_mock_server(method, url, api_key: nil, api_base: nil, params: {}, headers: {})
def self.redirect_to_mock_server(method, url, api_key: nil, api_base: nil, usage: [], params: {}, headers: {})
handler = Instance.handler_for_method_url("#{method} #{url}")

if mock_error = client.error_queue.error_for_handler_name(handler[:name])
Expand Down

0 comments on commit 1c616c1

Please sign in to comment.