Class: Wechat::NetworkSetting
- Inherits:
-
Object
- Object
- Wechat::NetworkSetting
- Defined in:
- lib/wechat/network_setting.rb
Instance Attribute Summary collapse
-
#proxy_password ⇒ Object
readonly
Returns the value of attribute proxy_password.
-
#proxy_url ⇒ Object
readonly
Returns the value of attribute proxy_url.
-
#proxy_username ⇒ Object
readonly
Returns the value of attribute proxy_username.
-
#skip_verify_ssl ⇒ Object
readonly
Returns the value of attribute skip_verify_ssl.
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize(timeout, skip_verify_ssl, proxy_url, proxy_username, proxy_password) ⇒ NetworkSetting
constructor
A new instance of NetworkSetting.
Constructor Details
#initialize(timeout, skip_verify_ssl, proxy_url, proxy_username, proxy_password) ⇒ NetworkSetting
Returns a new instance of NetworkSetting.
7 8 9 10 11 12 13 |
# File 'lib/wechat/network_setting.rb', line 7 def initialize(timeout, skip_verify_ssl, proxy_url, proxy_username, proxy_password) @timeout = timeout @skip_verify_ssl = skip_verify_ssl @proxy_url = proxy_url @proxy_username = proxy_username @proxy_password = proxy_password end |
Instance Attribute Details
#proxy_password ⇒ Object (readonly)
Returns the value of attribute proxy_password.
5 6 7 |
# File 'lib/wechat/network_setting.rb', line 5 def proxy_password @proxy_password end |
#proxy_url ⇒ Object (readonly)
Returns the value of attribute proxy_url.
5 6 7 |
# File 'lib/wechat/network_setting.rb', line 5 def proxy_url @proxy_url end |
#proxy_username ⇒ Object (readonly)
Returns the value of attribute proxy_username.
5 6 7 |
# File 'lib/wechat/network_setting.rb', line 5 def proxy_username @proxy_username end |
#skip_verify_ssl ⇒ Object (readonly)
Returns the value of attribute skip_verify_ssl.
5 6 7 |
# File 'lib/wechat/network_setting.rb', line 5 def skip_verify_ssl @skip_verify_ssl end |
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout.
5 6 7 |
# File 'lib/wechat/network_setting.rb', line 5 def timeout @timeout end |