Skip to content

Commit 754cf52

Browse files
committed
Remove needless argument
1 parent 0d72302 commit 754cf52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/statistics/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def get(path, params)
1313

1414
private
1515

16-
def connection_for(endpoint, &block)
16+
def connection_for(endpoint)
1717
Faraday.new(endpoint) do |f|
1818
f.response :logger if self.class.debug
1919
f.response :json, :content_type => /\bjson$/

0 commit comments

Comments
 (0)