Class: Fog::Networking::OracleCloud::Database

Inherits:
Provider
  • Object
show all
Defined in:
lib/fog/networking/oraclecloud/database.rb

Instance Method Summary collapse

Methods inherited from Provider

#initialize, #prepare

Constructor Details

This class inherits a constructor from Fog::Networking::Provider

Instance Method Details

#connect(ip, port) ⇒ Object



7
8
9
10
# File 'lib/fog/networking/oraclecloud/database.rb', line 7

def connect(ip, port)
	Fog::Logger.debug "Connecting #{ip} through port #{port} for #{@instance.service_name}"
	@instance.add_rule(port, ip);
end