Method: TestGemTM::ProxyAgent#initialize
- Defined in:
- lib/TestGemTM/ProxyAgent.rb
#initialize(hash) ⇒ ProxyAgent
set the proxy server ip here or write your own function to load from config file
17 18 19 20 21 22 |
# File 'lib/TestGemTM/ProxyAgent.rb', line 17 def initialize(hash) puts "Initializing proxy agent" @proxy_server_ip = hash[:proxy_server_ip] @proxy_server_port = hash[:proxy_server_port] @device_ip = hash[:device_ip] end |