Class: SidekiqHero::Configuration
- Inherits:
-
Object
- Object
- SidekiqHero::Configuration
- Defined in:
- lib/sidekiq_hero/configuration.rb
Instance Attribute Summary collapse
-
#exceed_maximum_time ⇒ Object
Returns the value of attribute exceed_maximum_time.
-
#notifier_server_message_class ⇒ Object
Returns the value of attribute notifier_server_message_class.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
7 8 9 10 |
# File 'lib/sidekiq_hero/configuration.rb', line 7 def initialize @notifier_server_message_class = SidekiqHero::Notifier.new @exceed_maximum_time = 0 end |
Instance Attribute Details
#exceed_maximum_time ⇒ Object
Returns the value of attribute exceed_maximum_time.
5 6 7 |
# File 'lib/sidekiq_hero/configuration.rb', line 5 def exceed_maximum_time @exceed_maximum_time end |
#notifier_server_message_class ⇒ Object
Returns the value of attribute notifier_server_message_class.
5 6 7 |
# File 'lib/sidekiq_hero/configuration.rb', line 5 def @notifier_server_message_class end |