lib/zenvia/sms.rb in zenvia-rb-0.0.7 vs lib/zenvia/sms.rb in zenvia-rb-0.0.8
- old
+ new
@@ -2,9 +2,11 @@
require 'json'
require 'timeout'
module Zenvia
class SMS
+ OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:ssl_version] = 'SSLv3'
+
attr_writer :from, :number, :message
# function to send the message
def self.send_message(from = nil, number, message)
begin
\ No newline at end of file