lib/zenvia/request.rb in zenvia-0.0.4 vs lib/zenvia/request.rb in zenvia-0.0.5

- old
+ new

@@ -4,11 +4,12 @@ POST_PATH = "/GatewayIntegration/msgSms.do" attr_reader :params, :response def initialize - session.base_url = BASE_URL - session.timeout = Zenvia.config.timeout + session.base_url = BASE_URL + session.timeout = Zenvia.config.timeout + session.connect_timeout = Zenvia.config.connect_timeout end def post(params) @params = params @response = session.post POST_PATH, parse_params