Skip to content

Commit 598d8ef

Browse files
committed
update
1 parent 74ddbcc commit 598d8ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/soda/client.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ def handle_response(response)
135135
end
136136
end
137137

138-
def connection(method, resource, body = nil, params = {})
139-
method ||= :Get
138+
def connection(method = "Get", resource, body = nil, params = {})
140139
method = method.to_sym.capitalize
141140

142141
query = query_string(params)

0 commit comments

Comments
 (0)