Skip to content

Commit 450e7bc

Browse files
Adding '**' to make opts ruby 3.2+ compliant (#68)
1 parent 9808533 commit 450e7bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dwolla_v2/client.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Client
2020

2121
def_delegators :current_token, :get, :post, :delete
2222

23-
def initialize opts
23+
def initialize **opts
2424
opts[:id] ||= opts[:key]
2525
raise ArgumentError.new ":key is required" unless opts[:id].is_a? String
2626
raise ArgumentError.new ":secret is required" unless opts[:secret].is_a? String

0 commit comments

Comments
 (0)