lib/red_cap/client.rb in red_cap-0.3.0 vs lib/red_cap/client.rb in red_cap-0.3.1

- old
+ new

@@ -38,9 +38,11 @@ JSON.load(response.body) end def base_request options connection = Faraday.new(url: @url) + connection.options.open_timeout = 300 + connection.options.timeout = 300 connection.post(nil, options.reverse_merge({ token: @token, })) end end