Use parentheses

This commit is contained in:
gregoirenovel 2018-10-15 18:18:13 +02:00
parent 4903a6b189
commit a7019719c2

View file

@ -17,7 +17,7 @@ module ApiGeo
private
def self.call(api_url)
RestClient.get api_url, params: { fields: :nom }
RestClient.get(api_url, params: { fields: :nom })
rescue RestClient::ServiceUnavailable
nil
end