Module: MessageBus::Client::Configuration::ClassMethods
- Defined in:
- lib/message_bus/client/configuration.rb
Instance Attribute Summary collapse
-
#long_polling ⇒ Object
Returns the value of attribute long_polling.
-
#poll_interval ⇒ Object
Returns the value of attribute poll_interval.
Class Method Summary collapse
Instance Attribute Details
#long_polling ⇒ Object
Returns the value of attribute long_polling.
7 8 9 |
# File 'lib/message_bus/client/configuration.rb', line 7 def long_polling @long_polling end |
#poll_interval ⇒ Object
Returns the value of attribute poll_interval.
8 9 10 |
# File 'lib/message_bus/client/configuration.rb', line 8 def poll_interval @poll_interval end |
Class Method Details
.extended(module_) ⇒ Object
10 11 12 13 |
# File 'lib/message_bus/client/configuration.rb', line 10 def self.extended(module_) module_.long_polling = true module_.poll_interval = 15 end |