Class: TrxExt::Config
- Inherits:
-
Object
- Object
- TrxExt::Config
- Defined in:
- lib/trx_ext/config.rb
Instance Attribute Summary collapse
-
#unique_retries ⇒ Object
Returns the value of attribute unique_retries.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 10 |
# File 'lib/trx_ext/config.rb', line 7 def initialize # Number of retries of unique constraint error before failing @unique_retries = 5 end |
Instance Attribute Details
#unique_retries ⇒ Object
Returns the value of attribute unique_retries.
5 6 7 |
# File 'lib/trx_ext/config.rb', line 5 def unique_retries @unique_retries end |