lib/zenvia/config.rb in zenvia-0.0.4 vs lib/zenvia/config.rb in zenvia-0.0.5
- old
+ new
@@ -1,11 +1,15 @@
module Zenvia
class Config
include Singleton
- attr_accessor :account, :code, :timeout
+ attr_accessor :account, :code, :timeout, :connect_timeout
def timeout
@timeout || 10
+ end
+
+ def connect_timeout
+ @connect_timeout || 5
end
end
end