Class: TransactionIsolation::Configuration
- Inherits:
-
Object
- Object
- TransactionIsolation::Configuration
- Defined in:
- lib/transaction_isolation/configuration.rb
Instance Attribute Summary collapse
-
#detect_mysql_isolation_variable ⇒ Object
Returns the value of attribute detect_mysql_isolation_variable.
-
#mysql_isolation_variable ⇒ Object
Returns the value of attribute mysql_isolation_variable.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/transaction_isolation/configuration.rb', line 7 def initialize @mysql_isolation_variable = 'tx_isolation' @detect_mysql_isolation_variable = true end |
Instance Attribute Details
#detect_mysql_isolation_variable ⇒ Object
Returns the value of attribute detect_mysql_isolation_variable.
5 6 7 |
# File 'lib/transaction_isolation/configuration.rb', line 5 def detect_mysql_isolation_variable @detect_mysql_isolation_variable end |
#mysql_isolation_variable ⇒ Object
Returns the value of attribute mysql_isolation_variable.
5 6 7 |
# File 'lib/transaction_isolation/configuration.rb', line 5 def mysql_isolation_variable @mysql_isolation_variable end |