Class: JunglePath::DBAccess::IO::Config
- Inherits:
-
Object
- Object
- JunglePath::DBAccess::IO::Config
- Defined in:
- lib/jungle_path/db_access/io/config.rb
Instance Attribute Summary collapse
-
#extensions ⇒ Object
Returns the value of attribute extensions.
-
#host ⇒ Object
Returns the value of attribute host.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#type ⇒ Object
Returns the value of attribute type.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Instance Method Summary collapse
-
#initialize(name: nil, type: nil, user_name: nil, password: nil, host: nil, extensions: [], port: nil, options: nil) ⇒ Config
constructor
A new instance of Config.
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 = end |
Instance Attribute Details
#extensions ⇒ Object
Returns the value of attribute extensions.
5 6 7 |
# File 'lib/jungle_path/db_access/io/config.rb', line 5 def extensions @extensions end |
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/jungle_path/db_access/io/config.rb', line 5 def host @host end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/jungle_path/db_access/io/config.rb', line 5 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/jungle_path/db_access/io/config.rb', line 5 def @options end |
#password ⇒ Object
Returns the value of attribute password.
5 6 7 |
# File 'lib/jungle_path/db_access/io/config.rb', line 5 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
5 6 7 |
# File 'lib/jungle_path/db_access/io/config.rb', line 5 def port @port end |
#type ⇒ Object
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_name ⇒ Object
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 |