Class: JunglePath::DBAccess::IO::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/jungle_path/db_access/io/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name: nil, type: nil, user_name: nil, password: nil, host: nil, extensions: [], port: nil, options: nil) ⇒ Config

Returns a new instance of Config.



6
7
8
9
10
11
12
13
14
15
# File 'lib/jungle_path/db_access/io/config.rb', line 6

def initialize name: nil, type: nil, user_name: nil, password: nil, host: nil, extensions: [], port: nil, options: nil
	@name = name
	@type = type
	@user_name = user_name
	@password = password
	@host = host
	@extensions = extensions
	@port =  port
	@options = options
end

Instance Attribute Details

#extensionsObject

Returns the value of attribute extensions.



5
6
7
# File 'lib/jungle_path/db_access/io/config.rb', line 5

def extensions
  @extensions
end

#hostObject

Returns the value of attribute host.



5
6
7
# File 'lib/jungle_path/db_access/io/config.rb', line 5

def host
  @host
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/jungle_path/db_access/io/config.rb', line 5

def name
  @name
end

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/jungle_path/db_access/io/config.rb', line 5

def options
  @options
end

#passwordObject

Returns the value of attribute password.



5
6
7
# File 'lib/jungle_path/db_access/io/config.rb', line 5

def password
  @password
end

#portObject

Returns the value of attribute port.



5
6
7
# File 'lib/jungle_path/db_access/io/config.rb', line 5

def port
  @port
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/jungle_path/db_access/io/config.rb', line 5

def type
  @type
end

#user_nameObject

Returns the value of attribute user_name.



5
6
7
# File 'lib/jungle_path/db_access/io/config.rb', line 5

def user_name
  @user_name
end