Class: SDM::AuroraMysql
- Inherits:
-
Object
- Object
- SDM::AuroraMysql
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#port_override ⇒ Object
Returns the value of attribute port_override.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, hostname: nil, username: nil, password: nil, database: nil, port_override: nil, port: nil) ⇒ AuroraMysql
constructor
A new instance of AuroraMysql.
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, hostname: nil, username: nil, password: nil, database: nil, port_override: nil, port: nil) ⇒ AuroraMysql
Returns a new instance of AuroraMysql.
2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 |
# File 'lib/models/porcelain.rb', line 2093 def initialize( id:nil \ , name:nil \ , healthy:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if hostname != nil @hostname = hostname end if username != nil @username = username end if password != nil @password = password end if database != nil @database = database end if port_override != nil @port_override = port_override end if port != nil @port = port end end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
2088 2089 2090 |
# File 'lib/models/porcelain.rb', line 2088 def database @database end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
2080 2081 2082 |
# File 'lib/models/porcelain.rb', line 2080 def healthy @healthy end |
#hostname ⇒ Object
Returns the value of attribute hostname.
2082 2083 2084 |
# File 'lib/models/porcelain.rb', line 2082 def hostname @hostname end |
#id ⇒ Object
Unique identifier of the Resource.
2076 2077 2078 |
# File 'lib/models/porcelain.rb', line 2076 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
2078 2079 2080 |
# File 'lib/models/porcelain.rb', line 2078 def name @name end |
#password ⇒ Object
Returns the value of attribute password.
2086 2087 2088 |
# File 'lib/models/porcelain.rb', line 2086 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
2092 2093 2094 |
# File 'lib/models/porcelain.rb', line 2092 def port @port end |
#port_override ⇒ Object
Returns the value of attribute port_override.
2090 2091 2092 |
# File 'lib/models/porcelain.rb', line 2090 def port_override @port_override end |
#username ⇒ Object
Returns the value of attribute username.
2084 2085 2086 |
# File 'lib/models/porcelain.rb', line 2084 def username @username end |