Module: Surety::Configuration
Instance Attribute Summary collapse
-
#backoff_factor ⇒ Object
Returns the value of attribute backoff_factor.
-
#database_prefix ⇒ Object
Returns the value of attribute database_prefix.
-
#max_backoff ⇒ Object
Returns the value of attribute max_backoff.
-
#message_processing_delegate ⇒ Object
Returns the value of attribute message_processing_delegate.
-
#retry_interval ⇒ Object
Returns the value of attribute retry_interval.
Instance Method Summary collapse
Instance Attribute Details
#backoff_factor ⇒ Object
Returns the value of attribute backoff_factor.
5 6 7 |
# File 'lib/surety/configuration.rb', line 5 def backoff_factor @backoff_factor end |
#database_prefix ⇒ Object
Returns the value of attribute database_prefix.
5 6 7 |
# File 'lib/surety/configuration.rb', line 5 def database_prefix @database_prefix end |
#max_backoff ⇒ Object
Returns the value of attribute max_backoff.
5 6 7 |
# File 'lib/surety/configuration.rb', line 5 def max_backoff @max_backoff end |
#message_processing_delegate ⇒ Object
Returns the value of attribute message_processing_delegate.
5 6 7 |
# File 'lib/surety/configuration.rb', line 5 def @message_processing_delegate end |
#retry_interval ⇒ Object
Returns the value of attribute retry_interval.
5 6 7 |
# File 'lib/surety/configuration.rb', line 5 def retry_interval @retry_interval end |
Instance Method Details
#database ⇒ Object
7 8 9 |
# File 'lib/surety/configuration.rb', line 7 def database "#{database_prefix}#{ENV['RAILS_ENV'] || Rails.env}" end |