lib/r_socks/config.rb in r_socks-0.2.2 vs lib/r_socks/config.rb in r_socks-0.2.3
- old
+ new
@@ -52,7 +52,31 @@
end
def health_check_route
@store[:health_check_route] || '/health'
end
+
+ def ssl_private_key=(value)
+ @store[:ssl_private_key] = value
+ end
+
+ def ssl_private_key
+ @store[:ssl_private_key]
+ end
+
+ def ssl_cert=(value)
+ @store[:ssl_cert] = value
+ end
+
+ def ssl_cert
+ @store[:ssl_cert]
+ end
+
+ def enable_ssl=(value)
+ @store[:enable_ssl] = value
+ end
+
+ def enable_ssl?
+ !!@store[:enable_ssl]
+ end
end
end
\ No newline at end of file